MATLAB: How to use Structures array the App Designer Properties

app designerpropertiesstructures

I have a problem using structures in the App Designer properties. I'm new on App Designer and I would like to have some common variables to all the callback functions. In the original script that I'm using, these variables where ordinated in a structure but I'm not able to do the same in the App Designer. The error it is relative to the use of the dot when I write a structure array.2020-01-08 10_59_31-MATLAB R2019a - academic use.png
How can I solve this problem and to continue using structures also in App Designer?

Best Answer

Use the Properties option in App Designer.
All properties you define are added to the app structure. This is accessible and passed to all functions, callbacks, etc.