Change Publish PDF Page Margins
4 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Aniket
2025-5-8
As of R2024b, Publish does not provide an option to change the page margins when creating a PDF for .m files.
However, the export option does provide this functionality for exporting Live Scripts and Functions. Kindly follow the below mentioned steps to change page margins:
- Right click MATLAB editor file in folder directory panel and click "Open as Live Function". If the file is a live editor file, this step is not required.
- In toolstrip, navigate to Live Editor --> File --> Export --> Export to PDF
- Click "Show more" to expand the export options
- Change the paper size, orientation, and margins
- Finally click "Export"
You can find more information regarding export function in this documentation: https://www.mathworks.com/help/matlab/ref/export.html
Hope this helps achieve the functionality required!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!