Get Started with COM

Create Instance of COM Object

Use the actxserver function to create and manipulate objects from MATLAB® that are exposed in an application that supports Automation. The function returns a handle to the object's main interface, which you use to access the object's methods, properties, and events, and any other interfaces it provides.

Register Custom Control

If your MATLAB program uses a custom control, for example, one that you have created especially for your application, you must register it with the Microsoft® Windows® operating system before you can use it. You can do this from your MATLAB program by issuing an operating system command:

!regsvr32 /s filename.ocx


See Also

| | | |

Related Topics