MATLAB COM Builder    

Packaging and Distributing the Component

Once you have successfully compiled your models and tested the COM object, you are ready to package the component for distribution to your end users.

Choose Component -> Package Component to create a self-extracting executable containing these files.

File
Purpose
_install.bat
Script run by the self-extracting executable
<componentname_projectversion>.dll
Compiled component
mglinstaller.exe
MATLAB math and graphics installer
mwcomutil.dll
COM Builder utility library
mwregsvr.exe
Executable that registers DLLs on target machines

The self-extracting executable is named <componentname>.exe.

Running the installer on a target machine performs these steps:

You must repeat this distribution process on each target machine.


  Building a Project Graphical User Interface