How can I create app from main script along with their subscript ?

1 visualización (últimos 30 días)
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

Respuesta aceptada

Thomas Fournier
Thomas Fournier el 16 de Ag. de 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'

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by