External Interfaces Reference Previous page   Next Page
load (COM)

Initialize control object from file

Syntax

Description

h.load('filename') initializes the COM object associated with the interface represented by the MATLAB COM object h from file specified in the string filename. The file must have been created previously by serializing an instance of the same control.

load(h, 'filename') is an alternate syntax for the same operation.

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

save, actxcontrol, actxserver, release, delete


Previous page  isinterface move Next page

© 1994-2005 The MathWorks, Inc.