A cancel button, to do nothing
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Praveen Choudhury
am 18 Dez. 2015
Kommentiert: Image Analyst
am 18 Dez. 2015
I have a gui(called main) through which I open another gui(called config). When I press ok button in the config gui, it performs and operation and the result is updated on the main gui. I want to add a cancel button in my config gui, so that when I press cancel, it should do nothing at all and close the gui.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 18 Dez. 2015
In the call back for that button, just delete the variable that is the handle to the gui and it will vanish.
3 Kommentare
Image Analyst
am 18 Dez. 2015
You never assigned that variable. But you don't need it. Just delete the line.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Entering Commands finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!