Main Content

setType

Specify Model Advisor list type

Description

setType (obj,listType) specifies the type of the ModelAdvisor.List object.

Examples

collapse all

  1. Create a ModelAdvisor.List object.

    subList = ModelAdvisor.List();
    
  2. Specify the type as a numbered or bulleted list.

    setType(subList, 'numbered')
    
  3. Add items to the list.

    addItem(subList, ModelAdvisor.Text('Sub entry 1', {'pass','bold'}));
    addItem(subList, ModelAdvisor.Text('Sub entry 2', {'pass','bold'}));

Input Arguments

collapse all

Model Advisor list object for which you want to specify the type.

Type of list that appears in the Model Advisor results.

Data Types: char

Version History

Introduced in R2006b