Initialize control object from file
the COM object associated with the interface represented by the MATLAB® COM
h from file specified by
file must have been created previously by serializing an instance
of the same control.
COM functions are available on Microsoft® Windows® systems only.
mwsamp control and save its original state to
f = figure('position',[100 200 200 200]); h = actxcontrol('mwsamp.mwsampctrl.2',[0 0 200 200],f); save(h,'mwsample')
h.Label = 'Circle'; h.Radius = 50; Redraw(h)
ans = Label: 'Label' Radius: 20