|MATLAB Function Reference|
Initialize a COM object from a file
Handle for a MATLAB COM control object.
The full path and filename of the serialized data.
Initializes the COM object associated with the interface represented by the MATLAB COM object
h from a file. The file must have been created previously by serializing an instance of the same control.
load function is only supported for controls at this time.
mwsamp control and save its original state to the file
Now, alter the figure by changing its label and the radius of the circle:
load function, you can restore the control to its original state: