Borrar filtros
Borrar filtros

app class properties check

1 visualización (últimos 30 días)
Ugaitz
Ugaitz el 22 de Nov. de 2023
Respondida: Matt J el 30 de Nov. de 2023
I have an App were one of the properties is another custom made class. I want to define the type of property to help programming.
The folder were this custom class is defined is not by default in the path, and I don´t want it to be.
Is there a way of adding folders to the path, before the properties are checked?
Thank you
  1 comentario
Taylor
Taylor el 30 de Nov. de 2023
You could create a script where the first line is "path(...)" and the second line is "app = yourAppName;". It's a bit convoluted, but I do not believe there is a way to execute any code in an App before setting the Properties.

Iniciar sesión para comentar.

Respuestas (1)

Matt J
Matt J el 30 de Nov. de 2023
I imagine that you could define your own property validation function,
and in it, set the path as needed.

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by