How can I can I trigger the callback of an edit text control when setting its value from within the callback of a slider control?
Mostrar comentarios más antiguos
In a simple GUI built with GUIDE I have an edit text control and a slider control. The edit text control's callback executes properly when the user changes the control's value using the keyboard.
The purpose of the slider is also to modify the value in the edit text control. The problem I'm running into is the following:
- User moves slider control
- Slider control callback executes and updates the value of the text edit control:
set(handles.tx_ColorTemp, 'String', NewVal);
- Text edit control properly displays new value "NewVal" but its callback does not execute
What am I missing? Thanks for any insight.
Xavier
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!