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

Taylor
Taylor 2023년 11월 30일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Matt J
Matt J 2023년 11월 30일

1 개 추천

I imagine that you could define your own property validation function,
and in it, set the path as needed.

카테고리

도움말 센터File Exchange에서 Naming Conventions에 대해 자세히 알아보기

제품

태그

질문:

2023년 11월 22일

답변:

2023년 11월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by