Info

This question is closed. Reopen it to edit or answer.

Slider to Edit in call back does not work

1 view (last 30 days)
PK
PK on 12 Apr 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
I do have a slider in my GUI . The value in the edit textbox doesn't work when the slider is moved but the slider updates its position according to the textbox value.. can anyone suggest a solution for this?
// Edit box to slider works in edit call back
textValue = str2double( get(hObject,'String') );
set(handles.Iapp,'Value',textValue);
//slider to editbox in slider call back -does not work
iext = num2str(get(hObject,'Value'));
set(handles.edit1,'String',iext);

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!