How can I create app from main script along with their subscript ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kaustubh hike
le 16 Août 2021
Réponse apportée : Thomas Fournier
le 16 Août 2021
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 commentaires
Réponse acceptée
Thomas Fournier
le 16 Août 2021
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!