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!