How to use the same gui for many times to save variables withe different index?

1 ビュー (過去 30 日間)
Jim Salih
Jim Salih 2014 年 10 月 2 日
回答済み: Julia 2014 年 10 月 2 日
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?

回答 (1 件)

Julia 2014 年 10 月 2 日
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.

Community Treasure Hunt

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

Start Hunting!

Translated by