MATLAB Answers

Why my pdf layout so strange when exporting *.mlx to pdf?

4 views (last 30 days)
可惜 王
可惜 王 on 21 Apr 2021
Answered: Chidvi Modala on 3 Jun 2021
hi everyone,
I have a *.mlx document and it needs to be exported as pdf, but when I click "file - export to pdf", the layout seems so strange like being cut.
how could I fix it?

Answers (1)

Chidvi Modala
Chidvi Modala on 3 Jun 2021
I am not sure what else is defined before defining B matrix.
When exporting a livescript with MATLAB code in PDF, if the code section contains long command lines, the text in the exported PDF exceeds the page frame and is cut.
If your code falls under this case, it's a known issue, our developers are aware of it and will try to fix it in future releases.


Community Treasure Hunt

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

Start Hunting!