Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 Compile COM Components with Library Compiler App 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 
    
Was this topic helpful?