| External Interfaces/API | ![]() |
Set an interface property to a specific value.
Syntax
set (a [, 'propertyname' [, value [, arg1, arg2, ...]]])
Arguments
a
An activex object handle previously returned from actxcontrol, actxserver, get, or invoke.
arg1, ..., argn
Returns
There is no return value from set.
Description
Set an interface property to a specific value. See Converting Data for information on how MATLAB converts workspace matrices to ActiveX data types.
Example
f = figure ('pos', [100 200 200 200]);
% Create the control to fill the figure.
a = actxcontrol ('MWSAMP.MwsampCtrl.1', [0 0 200 200], f)
set (a, 'Label', 'Click to fire event');
set (a, 'Radius', 40);
invoke (a, 'Redraw');
| send | Writing Event Handlers | ![]() |