ModelAdvisor.Text

Class: ModelAdvisor.Text
Package: ModelAdvisor

Create Model Advisor text output

Syntax

text = ModelAdvisor.Text(content, {attribute})

Description

text = ModelAdvisor.Text(content, {attribute}) creates a text object for the Model Advisor output.

Input Arguments

content

Optional string specifying the content of the text object. If content is empty, empty text is output.

attribute

Optional cell array of strings specifying the formatting of the content. If no attribute is specified, the output text has default coloring with no formatting. Possible formatting options include:

  • normal (default) — Text is default color and style.

  • bold — Text is bold.

  • italic — Text is italicized.

  • underline — Text is underlined.

  • pass — Text is green.

  • warn — Text is yellow.

  • fail — Text is red.

  • keyword — Text is blue.

  • subscript — Text is subscripted.

  • superscript — Text is superscripted.

Output Arguments

text

The text object you create

Examples

text = ModelAdvisor.Text('Sub entry 1', {'pass','bold'})
Was this topic helpful?