MATLAB Answers

app designer private and public properties?

69 views (last 30 days)
Abdelrahman Taha
Abdelrahman Taha on 2 Jan 2020
Commented: TADA on 2 Jan 2020
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?

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!