Changing variable from appdesigner in matlab script
조회 수: 4 (최근 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에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!