Documentation

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.

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]);
Was this topic helpful?