MATLAB: How does the File -> Print Print to File option work when printing a figure or block diagram on Windows

MATLABsimulink

I have checked the "Print to File" check box on either the figure printing dialog or the Simulink print dialog. When I push the Print button, a small dialog box appears requesting a file name. No other information is given, for example, what file format is being used, where the file is being created, and what extension it should have.

Best Answer

Documentation on the Print to File option is incomplete in the MATLAB documentation.
Here is additional information on the Print to File option:
The Print to File option creates a file suitable for sending directly to the selected printer. MATLAB appends no extension, so you might want to include one such as '.prn'. The file is created in the current directory unless a full path is included, in which case the file is created in the path specified.