I want to take an array in matlab appdesigner i.e. A=[5 10 15 20] from user and then use for further calculation. how can i do that?

9 ビュー (過去 30 日間)
I want to take an array in matlab appdesigner i.e. A=[5 10 15 20] from user and show it in another editfield when a button is pressed. then use for further calculation. how can i do that?

採用された回答

Kevin Holly
Kevin Holly 2022 年 5 月 2 日
Please see app attached. You can use a text edit field to accept a numeric array as a string. Then you can convert it to a numeric array perform calculations (in example app mulitple by 5) and convert back to string. Set the output editfield equal to this string.
  1 件のコメント
Himalay  Baidya
Himalay Baidya 2022 年 5 月 3 日
Cant run the app as i am using an older version of Matlab(2016b) .if you could kindly let me know here in comnt section or give me an app so that i can run ..that would be great help.thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by