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.


Open figure Print dialog box

Use this function only with GUIDE, or with apps created using the figure function.


The -crossplatform and -setup input arguments have been removed in R2014b. They no longer have any effect.




printdlg prints the current figure.

printdlg(fig) creates a modal dialog box from which you can print the figure window identified by the handle fig. Uimenus do not print.


If you want to set up a new printer, use the operating system printer management utilities. Restart MATLAB® if you do not see the printer which is already setup.

Introduced before R2006a