| MATLAB Compiler | ![]() |
Compiling a GUI That Contains an ActiveX Control
When you save a GUI that contains ActiveX components, GUIDE creates a file in the current directory for each such component. The filename consists of the name of the GUI followed by an underscore (_) and activexn, where n is a sequence number. For example, if the GUI is named ActiveXcontrol then the filename would be ActiveXcontrol_activex1. The filename does not have an extension.
If you use the MATLAB Compiler mcc command to compile a GUI that contains an ActiveX component, you must use the -a option to add the ActiveX control files that GUIDE saved in the current directory to the CTF archive. Your command should be similar to
where mygui_activex1 is the name of the file. If you have more than one such file, use a separate -a option for each file.
| Running Deployed Applications | Debugging MATLAB Compiler-Generated Executables | ![]() |
© 1994-2005 The MathWorks, Inc.