ライブエディタを PDF としてエクスポートするとき、文書の向きや余白の大きさを変更することはできますか?
3 views (last 30 days)
Show older comments
MathWorks Support Team
on 17 Nov 2022
Answered: MathWorks Support Team
on 17 Nov 2022
ライブスクリプト(.mlx) を PDF として保存したときの、文書の向きや左右の余白(マージン)を指定する方法を教えてください。
Accepted Answer
MathWorks Support Team
on 17 Nov 2022
以下のように設定することが可能です。
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 Comments
More Answers (0)
See Also
Categories
Find more on ライブ スクリプトとライブ関数 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!