initialize gui
이전 댓글 표시
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개)
Fangjun Jiang
2011년 11월 2일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!