Borrar filtros
Borrar filtros

Creating Menus using GUIDE

5 visualizaciones (últimos 30 días)
Caleb
Caleb el 20 de Jun. de 2013
I've created a GUI, and I want to create a Help menu that, when activated, brings up a new window that has static text. However, I'm not sure how to do this using GUIDE. Do I just create new figures and call them from the GUI?

Respuesta aceptada

David Sanchez
David Sanchez el 20 de Jun. de 2013
You can make use of the message box utility:
msgbox('your message here');
Insert you help message and link the msgbox function to the pushbutton ( or whatever you want ) of your GUI.
help msgbox
will give you more options
  7 comentarios
Matt Tearle
Matt Tearle el 20 de Jun. de 2013
Easiest way, I think, is to use the magic character #10 :)
Using the three strings from David's example:
help_str = [str1,10,10,str2,10,str3];
msgbox(help_str)
Caleb
Caleb el 20 de Jun. de 2013
Fantastic! Works like a charm.

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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by