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

1 view (last 30 days)
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?

Answers (1)

Julia
Julia on 2 Oct 2014
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.

Community Treasure Hunt

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

Start Hunting!