using publish to a pdf: wrapping text

6 ビュー (過去 30 日間)
William
William 2011 年 12 月 5 日
回答済み: Aniket 2025 年 5 月 7 日
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

回答 (1 件)

Aniket
Aniket 2025 年 5 月 7 日
As of R2024b, the output from fprintf is automatically wrapped when publishing PDF. Kindly upgrade to the latest version of MATLAB.

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by