It enables you to pass variables for any input arguments. (For example, the -noui option suppresses printing of user interface controls.) The Options section lists available options. Specifies print options that modify the action of the print command. The Graphics Format table lists all supported graphics-file formats. A valid format for this operation is either -dmeta (Windows Enhanced Metafile) or -dbitmap (Windows Bitmap).Įxports the figure to the specified file using the specified graphics format, (such as TIFF). The Printer Driver table lists all supported device types.Ĭopies the figure to the system clipboard (Windows only). If you omit -d driver, print uses the default value stored in printopt.m.
Prints the figure using the specified printer driver, (such as color PostScript). If filename does not include an extension, print appends an appropriate extension. Sends the contents of the current figure, including bitmap representations of any user interface controls, to the printer using the device and system printing command defined by printopt.ĭirects the output to the file designated by filename. You can use them in any combination or order. All arguments to the print command are optional. Print and printopt produce hardcopy output.
Print, printopt (MATLAB Functions) MATLAB Function Reference