initialize gui
Mostrar comentarios más antiguos
I'm trying to initialize some parameters/data (defaults) in a GUI and I am using a initialization function in the GUI's opening function to do this. This works fine if I wish to use these settings forever, but I need to be able to change them. So far, I haven't figured out how to get my changes stick. The defaults always get reloaded. Is this because my initialization function is in the gui opening function? Is there another way to initialize a gui? Input args to the gui?
1 comentario
tlawren
el 2 de Nov. de 2011
Respuesta aceptada
Más respuestas (1)
Fangjun Jiang
el 2 de Nov. de 2011
0 votos
Do you mean you want your GUI looks like the last time you end your GUI application? That can be done but you have to save your last status into a separate file and then in your GUI opening function, to read those information and set the values.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!