Documentation Center

  • Trial Software
  • Product Updates

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:

  • String

  • Element

  • Cell array of elements

Examples

Add two lines of text:

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

See Also

How To

Was this topic helpful?