Making an Error GUI

2 visualizaciones (últimos 30 días)
Ahmed
Ahmed el 9 de Feb. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by