Making an Error GUI

2 views (last 30 days)
Ahmed
Ahmed on 9 Feb 2013
i want to tell matlab; that after you finish the Solution if some thing happened open a small screen "Error", or Making a Small Screen after the Solution is Done to Say " Done" , How can i make that ? Thx in Advance

Accepted Answer

Image Analyst
Image Analyst on 9 Feb 2013
Try this:
warningMessage = sprintf('You really messed up! Your value is %f', value);
uiwait(warndlg(warningMessage));
successMessage = sprintf('You are done!\nYour results are in file:\n%s', fullFileName);
uiwait(helpdlg(successMessage));
  2 Comments
Ahmed
Ahmed on 9 Feb 2013
ok, i will try :)
Ahmed
Ahmed on 9 Feb 2013
i am trying but can you tell me how to type full file name? and Your results are in file:\n%s what do you mean by it, the code is good i think but i cant to type it properly as i am just a begainer so please Help me in this.

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps 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!