Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
I'm having trouble with a simple menu, can someone help ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I saw this post and since i'm a novice i found this to be a simple menu to do http://www.mathworks.com/help/matlab/ref/menu.html and since i'm trying to make a clock that would update according to the region you are in ( or the region that the user had inputed ) ,in my menu i would like to first make the user choose a continent, and according to the continent that was chosen it would open another menu with the regions of that continent. Would it be wise to make it with a if cycle? Can someone help ? Thanks!
0 comentarios
Respuestas (2)
Ilham Hardy
el 4 de En. de 2016
"The menu function is not recommended. Instead, use the dialog function to create multiple choice dialog boxes."
0 comentarios
Walter Roberson
el 4 de En. de 2016
I would advise using uicontrol('style', 'list') or uicontrol('style', 'popup') to present the choices to the user. Then get the Value property of the uicontrol to determine which entry number they selected.
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!