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?
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!