Why does my GUIDE close automatically after opening?

Hi, Since I have opened the "Inspector: matlab.ui.Figure" and make some changes, my GUI crash, close or something else automatically just one second after the opening. Without any errors :(
Do you know how to fix it?
Any help would be greatly appreciated.
Thanks,
Merry

2 件のコメント

Jan
Jan 2017 年 5 月 13 日
編集済み: Jan 2017 年 5 月 13 日
Please explain what "crash" means.
Jan
Jan 2017 年 5 月 16 日
@Merry: Please remeber that the readers do not have the faintest idea about what you are observing. Which software? What exactly is "interruption"? What do you see? How can you distinguish if the program is "interrupted" or simply ready?

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2017 年 5 月 13 日

0 投票

Perhaps the OpeningFcn contains a close command? We cannot guess this. Buit you can examine this easily: Set a breakpoint in teh OpeningFcn and/or in the main function of the M-file. Then step through the code until you find teh reason of teh closing. This is called "debugging".

1 件のコメント

Jan
Jan 2017 年 5 月 16 日
@Merry: Is the former problem solved? Which code causes the error message? What are you trying to do? You know that I do not have a crystal ball, don't you?

サインインしてコメントする。

カテゴリ

製品

質問済み:

2017 年 5 月 12 日

コメント済み:

Jan
2017 年 5 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by