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?
4 次查看(过去 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?
0 个评论
采纳的回答
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.
更多回答(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!