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

2 vues (au cours des 30 derniers jours)
Pablo Tacconi
Pablo Tacconi le 6 Sep 2017
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?

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by