How to use the same gui for many times to save variables withe different index?
2 次查看(过去 30 天)
显示 更早的评论
I want to use the same GUI many times during the program to save variables with different index number each time. Moreover, I want to make a static text changed every time. Is there anyone can help me to do that?
0 个评论
回答(1 个)
Julia
2014-10-2
Hi,
It is no problem to call the same GUI several times.
You can save the variables in an array and change the static text depending on the input. I would do this in the callback function of the enter/ok button (if you have one).
You have to pay attention to the handles.structure. For example, each time you change the text, you have to update the handles structure.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Data Preparation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!