| Simulink® Verification and Validation™ | ![]() |
list = ModelAdvisor.List
A variable representing the list object created.
Use instances of this class to create list formatted outputs. Creates a new list object.
| Name | Description |
|---|---|
| addItem | Add list item |
| setType | Specify list type |
Add list item
addItem(element)
Element, cell array of elements, or string to be added. When a cell array of elements is added, they form different rows in the list.
This method adds items to the list.
Specify list type
setType(listType)
String specifying type of list, either numbered or bulleted.
This method specifies the type of list created.
subList = ModelAdvisor.List();
subList.setType('numbered')
subList.addItem(ModelAdvisor.Text('Sub entry 1', {'pass','bold'}));
subList.addItem(ModelAdvisor.Text('Sub entry 2', {'pass','bold'}));
topList = ModelAdvisor.List();
topList.addItem([ModelAdvisor.Text('Entry level 1',{'keyword','bold'}), subList]);
topList.addItem([ModelAdvisor.Text('Entry level 2',{'keyword','bold'}), subList]);ModelAdvisor.Image, ModelAdvisor.LineBreak, ModelAdvisor.Paragraph, ModelAdvisor.Table, ModelAdvisor.Text
![]() | ModelAdvisor.LineBreak | ModelAdvisor.ListViewParameter | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |