Retaining new lines from block descriptions in Simulink Report Generator

조회 수: 4 (최근 30일)
Scott Snowden
Scott Snowden 2018년 4월 9일
편집: Scott Snowden 2018년 6월 28일
I am attempting to generate a Word report using the Simulink Report Generator tool, and as far as I can see, no matter whether I use the 'Code', 'HTML Text', 'Paragraph' with 'Text' or 'Preformatted' blocks, I cannot seem to generate new lines, even if I type directly into the text fields the following text:
Hello this is a test
Here's a new line
Here's another This should use \n for a new line
This should user HTML <br/> for a new line
This should use \cr\lf for a new line.
The result is always:
Hello this is a test Here's a new line Here's another This should use \n for a new line This should user HTML <br/> for a new line This should use \cr\lf for a new line.
within the word document.
The reason I'd like to achieve this is because I'm attempting to pull block descriptions through which use new lines to aid readability, and currently these are all stripped from the text.
Any ideas how I can fix this behaviour? Or perhaps I'm doing something incorrectly.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by