Documentation

Install COM Components

To install and deploy a COM object created with MATLAB® Compiler SDK™:

  1. Install the MATLAB Runtime as described in MATLAB Runtime (MATLAB Compiler).

  2. Build and package as described in Generate a .NET Assembly and Build a .NET Application and Package a Deployable COM Component.

  3. Copy the package to the target computer and run the package.

  4. From a Windows® command prompt on the target system, navigate to the folder where you saved the package. If you use the command dir, you should see the .dll created for your COM object. You will need to register the .dll manually using the command regsvr32, as follows:

    regsvr32 myCom_1_0.dll