User`s guide

8 Programming a GUIDE GUI
Compiling a GUI That Contains an ActiveX Control
If you use the MATLAB Compiler mcc command to compile a GUI that
contains an ActiveX control, you must use the
-a flag to add the ActiveX file,
which G UID E saves in the current folder, to the CTF archive. Your command
should be similar to
mcc -m mygui -a mygui_activex1
where mygui_activex1 is the name of the ActiveX file. See the “MA TLAB
Compiler™” documentation for more information. If you have more than one
such file, use a separate
-a flag for each file. You must have installed the
MATLAB Compiler to compile a G UI.
8-58