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.


Class: ModelAdvisor.Text
Package: ModelAdvisor

Specify bold text


setBold(text, mode)


setBold(text, mode) specifies whether text should be formatted in bold font.

Input Arguments

textInstantiation of the ModelAdvisor.Text class

A Boolean value indicating bold formatting of text:

  • true — Format the text in bold font.

  • false — Do not format the text in bold font.


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