using publish to a pdf: wrapping text

조회 수: 4 (최근 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 CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by