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!