필터 지우기
필터 지우기

how pop up a gui from an another gui on click of a button with a value?

조회 수: 1 (최근 30일)
Anandakumar Selvaraj
Anandakumar Selvaraj 2014년 3월 4일
답변: Dishant Arora 2014년 3월 4일
I have a task were i click a pushbutton in a gui named for example ( gui1.fig & gui1.m )and its takes a value from that gui say value1='123' to the other gui named( gui2.fig and gui2.m) and display's the value in gui2.fig edittext1
i need 1.how to open another gui on click the button 2. get value from gui1 to gui 2
help me

답변 (1개)

Dishant Arora
Dishant Arora 2014년 3월 4일
For 1st task simply call the .m file by name inside pushbutton callback. And to accomplish the 2nd task you need to store the data in gui itself using setappdata and recover it using getappdata. For better understanding see this video tutorial How to pass data from one GUI to another in MATLAB

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by