How can you prevent the output in a MATLAB pdf file from being cut off the page?

When writing my script, I use the ellipses function (...) to keep the code inside the line boundaries. However when I publish the m file to a pdf, the answers/output is cut off if it exceeds the maximum characters. Is there a way to make the output stay on the page?

回答 (1 件)

Jennifer Smith
Jennifer Smith 2015 年 2 月 15 日

0 投票

There are some older versions of MATLAB that actually have output issues when printing the code to the PDF file; my suggestion is to use a newer version, preferably R2014a to minimize chances for this to happen. What I was told that the code that would be cut off would be redirected to the next line in the document.

カテゴリ

ヘルプ センター および File ExchangeEntering Commands についてさらに検索

タグ

質問済み:

2015 年 2 月 15 日

回答済み:

2015 年 2 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by