As of R2024b, the output from fprintf is automatically wrapped when publishing PDF. Kindly upgrade to the latest version of MATLAB.
using publish to a pdf: wrapping text
6 次查看(过去 30 天)
显示 更早的评论
I am trying to use publish to produce pdfs, but the text I am printing, using fprintf, does not wrap, so the lines continue off of the page.
I realize I can format the fprintf to contain new lines using '\n', but I am wondering if there is a way to make the text automatically wrap when publishing?
Will
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!