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. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Export a figure to a deployed application


exportFigure = webfigure(h)


exportFigure = webfigure(h) exports the figure identified by the handle h to a deployed application for use as a WebFigure. How the deployed application manages the exported figure is specific to the target language. The WebFigure feature is supported by Java® and .NET.


Export a Figure

function returnFigure = getWebFigure()
        h = figure;
        set(h, 'Visible', 'off');
        set(h, 'Color', [.8,.9,1]);
        returnFigure = webfigure(h);

Input Arguments

collapse all

Specify the figure to be exported as a figure handle.

Output Arguments

collapse all

Specifies the exported figure in a language specific structure.

Introduced in R2008a

Was this topic helpful?