addItem - Class: ModelAdvisor.List
Package: ModelAdvisor
Add item to list
Syntax
addItem(element)
Description
addItem(element) adds
items to the list created by the ModelAdvisor.List constructor.
Inputs
| element | Specifies an element to be added to a list in one of
the following: |
Example
subList = ModelAdvisor.List();
setType(subList, 'numbered')
addItem(subList, ModelAdvisor.Text('Sub entry 1', {'pass','bold'}));
addItem(subList, ModelAdvisor.Text('Sub entry 2', {'pass','bold'}));See Also
 | addGroup (ModelAdvisor.Group) | | addItem (ModelAdvisor.Paragraph) |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit