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.

setSubscript

Class: ModelAdvisor.Text
Package: ModelAdvisor

Specify subscripted text

Syntax

setSubscript(text, mode)

Description

setSubscript(text, mode) indicates whether to make text subscript.

Input Arguments

textInstantiation of the ModelAdvisor.Text class
mode

A Boolean value indicating subscripted formatting of text:

  • true — Make the text subscript.

  • false — Do not make the text subscript.

Examples

t1 = ModelAdvisor.Text('This is some text');
setSubscript(t1, 'true');
Was this topic helpful?