- Drag and Drop 2 'Sliders' into the gui
- Add callback for each sliders
- Add a logic so that whenever the value of slider changes it compares with other sliders value and if it meets the above requirements it displays the message.
How to display a message when two conditions are met in GUI
3 次查看(过去 30 天)
显示 更早的评论
I have two sliders that modify two different functions. For example when slider1 takes the value 3 and the slider2 takes the value 5 I want to display a message. How can this be done?
0 个评论
回答(1 个)
BhaTTa
2024-10-17
Please follow the below steps to design the gui.
I have implemented and attahced the screenshots of the app view and the design view:
Design View:
Code View:
Hope it helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!