필터 지우기
필터 지우기

How to call an edit text of a.fig to b.m?

조회 수: 1 (최근 30일)
Alvindra Pratama
Alvindra Pratama 2016년 6월 17일
편집: Alvindra Pratama 2016년 6월 18일
i have a GUI that i save in file named as a.fig, of course a.fig has a file called as a.m i want to ask, is it possible if i want to call an edit text of a.fig to b.m?
  댓글 수: 2
Shameer Parmar
Shameer Parmar 2016년 6월 17일
Yes, it is possible.
if you run the gui using a.m file, then in between the code if you are calling the b file from a file, so before calling b, save the edit text data into one variable and then pass that variable to file b as input argument.
Alvindra Pratama
Alvindra Pratama 2016년 6월 18일
편집: Alvindra Pratama 2016년 6월 18일
Hello sir, here i want to called this from m.files named a.m to my edit text on my GUI named b.fig :
[mahal_min, recognized_index] = min(mahal);
Can you help me how can i show that code's result into my edit text?

댓글을 달려면 로그인하십시오.

채택된 답변

Geoff Hayes
Geoff Hayes 2016년 6월 18일
Alvindra - see http://www.mathworks.com/matlabcentral/answers/146215-pass-data-between-gui-s which discusses passing data between GUIs but is near identical to your problem.
  댓글 수: 2
Alvindra Pratama
Alvindra Pratama 2016년 6월 18일
thank you & i'll try it sir
Alvindra Pratama
Alvindra Pratama 2016년 6월 18일
편집: Alvindra Pratama 2016년 6월 18일
Hello sir, here i want to called this from m.files named a.m to my edit text on my GUI named b.fig :
[mahal_min, recognized_index] = min(mahal);
I've tried your recommendation above but it still nor working for me, can you help me how can i show that code's result into my edit text?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by