How to get value from GUI and use it into another .m file ?
1 回表示 (過去 30 日間)
古いコメントを表示
I have made a GUI. There is a function (.m file) which is not into the GUI but outside it. But i want to get a value from GUI and use it to that .m file and GUI as well.
0 件のコメント
回答 (1 件)
Javier Bastante
2016 年 3 月 16 日
2 件のコメント
Javier Bastante
2016 年 3 月 18 日
var=get(handles.edit1,'String');
and then you can use:
global var
or
save *.mat var %As seen on previous link
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!