フィルターのクリア

Changing variable from appdesigner in matlab script

4 ビュー (過去 30 日間)
Furkan Karaman
Furkan Karaman 2022 年 10 月 5 日
コメント済み: Eric Delgado 2022 年 10 月 21 日
Hello,
How can I send a value for a variable from appdesigner to the workspace which is then used in a matlab script?

採用された回答

Eric Delgado
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 件のコメント
Furkan Karaman
Furkan Karaman 2022 年 10 月 19 日
Thank you so much Eric! Now it works
Eric Delgado
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 ExchangeManage Products についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by