printdlg
Open figure Print dialog box
Note
The -crossplatform
and -setup
input arguments have
been removed in R2014b. They no longer have any effect.
Syntax
printdlg
printdlg(fig)
Description
Note
printdlg
is not supported in App Designer or in apps created using
the uifigure
function. Instead, use exportapp
to
create a printable snapshot of your app.
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.
Tips
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.
Version History
Introduced before R2006a