How to interlink push button with checkbox in GUIDE?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have designed GUI with Guide,in which I have two checkbox.I want this GUI to work in following way:
- I will give required parameters
- When I select one check box
- Then I press push button
- GUI will plot the results.
Right now GUI is plotting the graph without notice of push button.
How to interlink push button with checkbox?
2 Commenti
Walter Roberson
il 15 Nov 2016
We will need your code to see why it is plotting even without you pressing the push button. We will need your .fig as well.
Romano Geerling
il 15 Nov 2016
Try to get the logical value 'true' or 'false' from your checkbox to the callback of the pushbutton.
In the callback of the push button you need to provide the code to check for the value of the checkbox and code for plotting the graph and not in the callback of the checkbox.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!