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!