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

11 ビュー (過去 30 日間)
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?

採用された回答

MathWorks Support Team
MathWorks Support Team 2019 年 5 月 18 日
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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by