Compiling a Matlab system object that uses an auto-generated dialog
显示 更早的评论
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?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Implement Blocks with System Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!