MATLAB Answers


Matlab displays truncated output with elipses. How do I fix this?

Asked by Katharina P on 16 Sep 2019 at 14:41
Latest activity Commented on by dpb
on 17 Sep 2019 at 13:56
For some reason my Matlba refuses to display anything larger than 10 lines of code or so. It even does this when I print to PDF but not to Word. How do I solve this?
Matlab Help.PNG


How are you doing the print to pdf? Are you using Report Generator?
I'm simply exporting it to pdf.
I can easily reproduce that behaviour (2019b) but what's not mentioned is that it's using the live editor (with inline display, but the ellipsis appear in all display modes).
As I'm not familiar with the live editor, it's not something I can help with. I assume it's meant to be this way.
The regular matlab command prompt does not have this issue.

Sign in to comment.




1 Answer

Answer by Guillaume
on 16 Sep 2019 at 16:35
 Accepted Answer

As far as I can tell, this is and has always been normal behaviour in the live script editor.
Same as with normal scripts, you can use disp to display variables of any size without truncation in the live editor:


Thank you! I tried it and it worked out. I never thought of that extra step.
on 17 Sep 2019 at 13:56
And I, like G, am totally unaware of/never have used/probably never will use the live editor...

Sign in to comment.