| External Interfaces Reference | ![]() |
Serialize control object to file
Syntax
Description
h.save('filename')
saves the COM control object, h, to the file specified in the string, filename.
save(h, 'filename')
is an alternate syntax for the same operation.
Examples
Create an mwsamp control and save its original state to the file mwsample:
f = figure('position', [100 200 200 200]); h = actxcontrol('mwsamp.mwsampctrl.2', [0 0 200 200], f); h.save('mwsample')
Now, alter the figure by changing its label and the radius of the circle:
Using the load function, you can restore the control to its original state:
See Also
load, actxcontrol, actxserver, release, delete
| release | send | ![]() |
© 1994-2005 The MathWorks, Inc.