How can I integrate an error dialog in Gui?

1 view (last 30 days)
I have creat a Matlab Gui which works perfectly but when I biuld it it runs until a certain point in my code(a function) and then produces the error sound. I have no idea why it stops at that particular function() I tried to change the function and still nothing happend. Is there a way to create a dialog that pops out when that error occurs?(already tried try/catch)
  2 Comments
Geoff Hayes
Geoff Hayes on 24 May 2015
Stefanos - please clarify what you mean by when I build it. Are you compiling the GUI into a standalone application or are you running it from the command line?
Walter Roberson
Walter Roberson on 24 May 2015
When you say you "build" it, do you mean you are using MATLAB Compiler?
If you are not using MATLAB Compiler, then have you tried
dbstop if error
and run the code?

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!