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.

addItem

Class: ModelAdvisor.Paragraph
Package: ModelAdvisor

Add item to paragraph

Syntax

addItem(text, element)

Description

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

  • Character vector

  • Element

  • Cell array of elements

Examples

Add two lines of text:

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