Report Generator: how to add a line break in Paragraph or Text

16 ビュー (過去 30 日間)
Simulinker
Simulinker 2014 年 10 月 2 日
回答済み: Sainath Varikuti 2015 年 1 月 20 日
I am using Report Generator 3.15 (R2013b) and I added some text under my system snapshots in a paragraph (and tried text as well). How do I perform a line break in this text so I can see it in the generated PDF file?

採用された回答

Sainath Varikuti
Sainath Varikuti 2015 年 1 月 20 日
In order to fix this issue install the patch available at the following link:

その他の回答 (1 件)

Sandip Kumar
Sandip Kumar 2014 年 10 月 8 日
When you incorporate a 'text' field, documentation below: http://www.mathworks.com/help/rptgen/ug/text.html
There is an option: Style > Retain spaces and carriage returns, that should fix your issue.
Thanks, Sandip, MathWorks
  2 件のコメント
Simulinker
Simulinker 2014 年 10 月 8 日
Thanks for your reply. I already tried this. Unfortunately with this option the borders of the sheets are ignored (no automatic line breaks any more), so that the text is partly outside of the sheet. Inserting a manual line break each time the text leaves the sheet is a workaround, but not a comfortable one though.
Any other ideas?
Sandip Kumar
Sandip Kumar 2014 年 10 月 8 日
Tried few things, and it seems if you generate a Word Document(RTF), the borders are not ignored in the report.
Now this can be converted to PDF externally if needed.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeReporting and Database Access についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by