Making an Error GUI

2 Ansichten (letzte 30 Tage)
Ahmed
Ahmed am 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

Akzeptierte Antwort

Image Analyst
Image Analyst am 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 Kommentare
Ahmed
Ahmed am 9 Feb. 2013
ok, i will try :)
Ahmed
Ahmed am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by