Making an Error GUI

2 vues (au cours des 30 derniers jours)
Ahmed
Ahmed le 9 Fév 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

Réponse acceptée

Image Analyst
Image Analyst le 9 Fév 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 commentaires
Ahmed
Ahmed le 9 Fév 2013
ok, i will try :)
Ahmed
Ahmed le 9 Fév 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by