Compiling a Matlab system object that uses an auto-generated dialog

1 visualización (últimos 30 días)
I would like to compile a Matlab system object that I've created. My system object contains a dialog, auto-generated by the system object class (see: https://blogs.mathworks.com/simulink/2014/01/15/a-free-dialog-for-your-matlab-system-block/).
To display the dialog programmatically, I am calling matlab.system.ui.openDialog(obj). This works well in Matlab. But, the EXE generated using the Matlab Compiler fails, indicating that it can’t find matlab.system.ui.openDialog.
Clearly, the autogenerated dialogs produced by the system object class are very nice, and it would be great if they could be used in compiled applications. Has anyone found a way around this?

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by