How can I create app from main script along with their subscript ?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
How can I create app from main script along with their subscript ?
I know for creating app, it should be function.
If I make fucntion then the data gets earsed when I call subscripts in main-function.
Please suggsest alternative if any available,
Regards
댓글 수: 0
채택된 답변
Thomas Fournier
2021년 8월 16일
The data you want to keep between function shoud be defined as properties of your app,
To refer to this variable later in your code, you have to call it app.'variable_name'
댓글 수: 0
추가 답변 (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!