External Interfaces Reference Previous page   Next Page
get (COM)

Get property value from interface, or display properties

Syntax

Description

V = h.get returns a list of all properties and their values for the object or interface, h.

V = h.get('propertyname') returns the value of the property specified in the string, propertyname.

V = get(h, ...) is an alternate syntax for the same operation.

Remarks

The meaning and type of the return value is dependent upon the specific property being retrieved. The object's documentation should describe the specific meaning of the return value. MATLAB may convert the data type of the return value. See Converting Data in the External Interfaces documentation for a description of how MATLAB converts COM data types.

Examples

Create a COM server running Microsoft Excel:

Retrieve a single property value:

Retrieve a list of all properties for the CommandBars interface:

See Also

set, inspect, isprop, addproperty, deleteproperty


Previous page  events interfaces Next page

© 1994-2005 The MathWorks, Inc.