MATLAB Answers

app designer private and public properties?

7 views (last 30 days)
Abdelrahman Taha
Abdelrahman Taha on 2 Jan 2020
Commented: TADA on 2 Jan 2020
Hi,
In app designer, if i am going to exectute come functions within the app, can I just use private properties? or do I need to use public ones to be shared outside of the app, i.e. within these functions?
Thanks

  0 Comments

Sign in to comment.

Accepted Answer

TADA
TADA on 2 Jan 2020
If these functions are methods of your app, you can use private properties from within these methods, but if they are functions outside this app, that is in other .m files (different class, or static functions, makes no difference) you'd have to use public properties

  2 Comments

Abdelrahman Taha
Abdelrahman Taha on 2 Jan 2020
That's really helpful. Thanks for your help.

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by