In an app designed in AppDesigner, I can make something like this.
app.MyAppProperty = struct('FieldA', 'A', 'FieldB', randi(5, 10));
assignin('base', 'MyAppProperty', app.MyAppProperty)
And It works! The app property "MyAppProperty" is sent to Matlab base Workspace and "openvar" command works, opening the variable in the built-in variables editor.
But It does not working in the same app, but compiled - error mesage below.
Undefined function 'openvar' for input arguments of type 'char'.
What should I do? Is it a Matlab Compiler limitation?