ModelAdvisor.ListViewParameter - Add list view parameters to custom checks

Class Description

The Model Advisor uses list view parameters to populate the Model Advisor Result Explorer. Users access the information provided in list views by clicking the Explore Result button in the Model Advisor window.

Syntax

lv_param = ModelAdvisor.ListViewParameter

Arguments

lv_param

A variable representing the list view parameter object you create.

Example

See Demo and Code Example for more information.

mdladvObj = Simulink.ModelAdvisor.getModelAdvisor(system);
mdladvObj.setCheckResultStatus(true);

% define list view parameters
myLVParam = ModelAdvisor.ListViewParameter;
myLVParam.Name = 'Invalid font blocks'; % the name appeared at pull down filter
myLVParam.Data = get_param(searchResult,'object')';
myLVParam.Attributes = {'FontName'}; % name is default property
mdladvObj.setListViewParameters({myLVParam});

See Also

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS