Why does my Guide GUI exit unexpectedly after pushing a button?

조회 수: 4 (최근 30일)
A
A 2011년 2월 7일
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.

답변 (1개)

Jan
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.
  댓글 수: 4
A
A 2011년 2월 7일
Thanks...
I am calling one script from push button. The script is calling one function. There is no exit or quit has been used. But after executing this push button, program exit. If I comment script.....it works fine?????
A
A 2011년 2월 7일
Well...found mistake.........I used cloase all statement someware in function with 100 lines plus.....it was. Thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by