Export a figure to a deployed application
exportFigure = webfigure(h)
function returnFigure = getWebFigure() h = figure; set(h, 'Visible', 'off'); surf(peaks); set(h, 'Color', [.8,.9,1]); returnFigure = webfigure(h); close(h);
h— handle of the figure to be exported
Specify the figure to be exported as a figure handle.
exportFigure— exported figure
Specifies the exported figure in a language specific structure.