Main Content

addItem

Class: ModelAdvisor.Paragraph
Namespace: 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]);