External Interfaces/API | ![]() ![]() |
Retrieve a property value from an interface or get a list of properties.
Syntax
v = get (a [, 'propertyname' [, arg1, arg2, ...]])
Arguments
a
An activex object previously returned from actxcontrol
, actxserver
, get
, or invoke
.
arg1, ..., argn
Returns
The value of the property or a list of properties (if you use the form get(a)
). The meaning and type of this value is dependent upon the specific property being retrieved. The object's documentation should describe the specific meaning of the return value. See Converting Data for a description of how MATLAB converts ActiveX data types.
Description
Retrieve a property value from an interface.
Note
You can use the return value of actxcontrol as an argument to the get function to get a list of properties of the control and methods that can be invoked.
|
Example
Retrieve a single, property value:
% get the string value of the 'Label' property s = get (a, 'Label');
Retrieve a list of properties:
get(a) AutoAlign = [-1] AutoAngle = [-1] AutoAngleConfine = [0] AutoOffset = [-1] . . . SelectionOffsetY = [0] SelectionRadius = [0.8] Selections = [4] Value = [0]
![]() | delete | invoke | ![]() |