필터 지우기
필터 지우기

Import Variables in GUI to the main workspace

조회 수: 2 (최근 30일)
Shawn Chang
Shawn Chang 2012년 11월 17일
Hi, may I khow to import the variables working at GUI to the main working space using button callback? I wish to import the variables so that the data can be use for other computation and analysis purpose. Thanks you

채택된 답변

Arthur
Arthur 2012년 11월 17일
In the callback of your button, put
assignin('base','yourvariable',yourvariable)
If you have a simple GUI that is closed after variable selection, you could also make your variables outputs of the GUI, like:
output = myGUI();

추가 답변 (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