MATLAB Function Reference    
save (COM)

Serialize a COM control object to a file

Syntax

Arguments

h
   Handle for a MATLAB COM control object.

filename
   The full path and filename of the serialized data.

Description

Save the COM control object associated with the interface represented by the MATLAB COM object h into a file.

The COM save function is only supported for controls at this time.

Examples

Create an mwsamp control and save its original state to the file 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


  saveas saveobj