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

9 views (last 30 days)
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?

Answers (1)

Jennifer Smith
Jennifer Smith on 15 Feb 2015
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.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!