Why does my GUIDE close automatically after opening?
Show older comments
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 Comments
Jan
on 16 May 2017
@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?
Answers (1)
Jan
on 13 May 2017
0 votes
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 Comment
Jan
on 16 May 2017
@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?
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!