A cancel button, to do nothing
2 ビュー (過去 30 日間)
古いコメントを表示
Praveen Choudhury
2015 年 12 月 18 日
コメント済み: Image Analyst
2015 年 12 月 18 日
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 件のコメント
採用された回答
Image Analyst
2015 年 12 月 18 日
In the call back for that button, just delete the variable that is the handle to the gui and it will vanish.
3 件のコメント
Image Analyst
2015 年 12 月 18 日
You never assigned that variable. But you don't need it. Just delete the line.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!