To install and deploy a COM object created with MATLAB® Compiler SDK™:
Install the MATLAB Runtime as described in Install MATLAB Runtime.
Build and package as described in Compile COM Components with Library Compiler App and Package a Deployable COM Component.
Copy the package to the target computer and run the package.
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