How to print from the MATLAB Editor and set the page orientation to landscape?

6 Ansichten (letzte 30 Tage)
I have some code in a MATLAB file that I have opened in the MATLAB Editor. I would like to print this file, but I would like the page orientation to be in landscape. How can I do this?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 18 Mai 2019
One option is to print from the Editor as usual and simply set the page orientation accordingly in your system's print dialog that opens as a result. Note that the precise steps (to set the orientation in your system's print dialog) would depend on your particular printer, printer driver, and/or printer software.
An alternative approach to set the page orientation from within MATLAB itself is detailed as follows:
1) Right-click within the Workspace Browser
2) Select the "Page Setup" option in the context menu
3) Specify the "Orientation" and other options
4) This setting should work even if you are printing from the Editor

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by