This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

COM

Access COM components and ActiveX controls from MATLAB

Description

A Component Object Model (COM) object

Creation

To create a COM object, call one of the following functions.

Object Functions

addpropertyAdd custom property to COM object
deletepropertyRemove custom property from COM object
eventsList of events COM object can trigger
invokeInvoke method on COM object or interface, or display methods
loadInitialize COM control object from file
moveMove or resize control in parent window
propeditOpen built-in property page for COM control
releaseRelease COM interface
saveSerialize COM control object to file

You also can use these MATLAB® functions with COM objects.

deleteDelete files or objects
getQuery graphics object properties
ispropDetermine if property of object
ismethodDetermine if method of object
fieldnamesField names of structure, or public fields of Java or Microsoft COM object
inspectOpen property inspector
methodsClass method names
methodsviewView class methods
setSet graphics object properties

Introduced before R2006a