Changing variable from appdesigner in matlab script
3 ビュー (過去 30 日間)
古いコメントを表示
Hello,
How can I send a value for a variable from appdesigner to the workspace which is then used in a matlab script?
0 件のコメント
採用された回答
Eric Delgado
2022 年 10 月 5 日
You can use assignin to send the variable to Matlab base workspace.
% Suppose that you have a variable named "app.myVariable"
assignin('base', 'myVariable', app.myVariable)
openvar('myVariable')
6 件のコメント
Eric Delgado
2022 年 10 月 21 日
Great to hear! Now that you are super happy with my support, you accept my answer, ok? :)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!