Why does my Guide GUI exit unexpectedly after pushing a button?
1 回表示 (過去 30 日間)
古いコメントを表示
I am running my GUI from tools->run. After executing one push button, it exits. The rest of the push buttons on the GUI don't exit.
There is no exit command in first push button. It is displaying one figure and some info on the command line.
0 件のコメント
回答 (1 件)
Jan
2011 年 2 月 7 日
Use the debugger to step line by line through the callback function of the push button. Then you will find the line, which causes the exit (I assume you mean a "delete" of the figure?). If you found the specific line and do not understand the behaviour, please post the concerning lines.
Using the debugger is always more direct and efficient than hoping that another user can guess what's going on without seeing the code.
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!