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.

setType

Class: ModelAdvisor.List
Package: ModelAdvisor

Specify list type

Syntax

setType(list_obj, listType)

Description

setType(list_obj, listType) specifies the type of list the ModelAdvisor.List constructor creates.

Input Arguments

list_objInstantiation of the ModelAdvisor.List class
listType

Specifies the list type:

  • numbered

  • bulleted

Examples

subList = ModelAdvisor.List();
subList.setType('numbered')
subList.addItem(ModelAdvisor.Text('Sub entry 1', {'pass','bold'}));
subList.addItem(ModelAdvisor.Text('Sub entry 2', {'pass','bold'}));
Was this topic helpful?