ライブエディタを PDF としてエクスポートす​るとき、文書の向きや​余白の大きさを変更す​ることはできますか?

3 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2022 年 11 月 17 日
回答済み: MathWorks Support Team 2022 年 11 月 17 日
ライブスクリプト(.mlx) を PDF として保存したときの、文書の向きや左右の余白(マージン)を指定する方法を教えてください。

採用された回答

MathWorks Support Team
MathWorks Support Team 2022 年 11 月 17 日
以下のように設定することが可能です。
s = settings;
s.matlab.editor.export.pagesetup.pdf.Orientation.TemporaryValue = 'Landscape'; % 用紙の向きを横向き
s.matlab.editor.export.pagesetup.pdf.Margins.TemporaryValue = [0 28 0 28]; % 左右余白を 0 に
上記の詳細については、以下のヘルプドキュメントをご覧ください。
・matlab.editor 設定

その他の回答 (0 件)

カテゴリ

Help Center および File Exchangeライブ スクリプトとライブ関数 についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!