This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Serialize COM control object to file





save(c,filename) saves COM control object to file specified by filename. The COM save function is only supported for controls.

COM functions are available on Microsoft® Windows® systems only.


collapse all

Save settings for an mwsamp control.

Create the 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);

Input Arguments

collapse all

COM object, specified as a function handle.

File name, specified as a character vector.

See Also


Introduced before R2006a