Making an Error GUI

3 ビュー (過去 30 日間)
Ahmed
Ahmed 2013 年 2 月 9 日
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

採用された回答

Image Analyst
Image Analyst 2013 年 2 月 9 日
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 件のコメント
Ahmed
Ahmed 2013 年 2 月 9 日
ok, i will try :)
Ahmed
Ahmed 2013 年 2 月 9 日
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.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by