This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Class: ModelAdvisor.Paragraph
Package: ModelAdvisor

Add item to paragraph


addItem(text, element)


addItem(text, element) adds an element to text. element is one of the following:

  • Character vector

  • Element

  • Cell array of elements


Add two lines of text:

result = ModelAdvisor.Paragraph;
addItem(result, [resultText1 ModelAdvisor.LineBreak resultText2]);