Main Content

COM

Access COM components from MATLAB

Description

A Component Object Model (COM) object

Creation

To create a COM object, call the actxserver function.

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
load(To be removed) Initialize COM control object from file
moveMove or resize control in parent window
propeditOpen built-in property page for COM control
releaseRelease COM interface
save(To be removed) Serialize 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 is defined by object
ismethodDetermine if object has specified method
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

Version History

Introduced before R2006a