Needs Checkbox to draw a plot
Ältere Kommentare anzeigen
Hi all, Can you help me with GUI? So I need to create checkbox to draw a plot by clicking mouse on it. How can I do it?
Akzeptierte Antwort
Weitere Antworten (1)
Benjamin Schwabe
am 14 Jun. 2012
0 Stimmen
Hi Aleksandra,
I am not sure where you are stuck, so I try to be a little more detailed than John.
Use GUIDE to design you GUI with drag and drop. Save the GUI. Then double click on the checkbox and the m-File openes at the callback function of the ckechbox. Then use the if statement as John suggests.
Benjamin
1 Kommentar
Aleksandra
am 15 Jun. 2012
Kategorien
Mehr zu Graphics Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!