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

채택된 답변

Thomas Fournier
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개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by