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
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.

카테고리

Help CenterFile Exchange에서 Text Data Preparation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by