Is it possible to use "openvar" in a compiled app?

3 views (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 16 Jul 2021
None of the IDE tools are available in compiled applications. For example the property inspector is also not available.
Walter Roberson
Walter Roberson on 16 Jul 2021
Mathworks Support did not make the decision.
Read the MATLAB Compiler license terms. You are only permitted to use it to create applications that do specific things. You are forbidden to use it to create applications that effectively replace the interactive MATLAB. If you have need of interactive exploration then the license terms say that you need to buy MATLAB licenses for each user. MATLAB Compiler is specifically not intended to permit people to use the full interactivity for free.
It is unlikely that section of the licence terms will change substantially, and if that is too restrictive for your purposes, then you should find a different software manufacturer.

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by