This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan 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]);
Was this topic helpful?