External Interfaces/API Reference    
set (COM)

Set an interface property to a specific value

Syntax

Arguments

h
   Handle for a COM object previously returned from actxcontrol, actxserver, get, or invoke.

propertyname
   A string that is the name of the property to be set.

value
   The value to which the interface property is set.

Description

Set one or more properties of a COM object to the specified value(s). Each propertyname argument must be followed by a value argument.

See Converting Data in the External Interfaces documentation for information on how MATLAB converts workspace matrices to COM data types.

Examples

Create an mwsamp control and use set to change the Label and Radius properties:

See Also

get, inspect, isprop, addproperty, deleteproperty


  send (COM) unregisterallevents (COM)