| Simulink® Verification and Validation™ | ![]() |
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.
lv_param = ModelAdvisor.ListViewParameter
A variable representing the list view parameter object you create.
Note The following example is a fragment of code from the sl_customization.m file for the demo model slvnvdemo_mdladv. The example does not execute as shown without the additional content found in the sl_customization.m file. |
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});![]() | ModelAdvisor.List | ModelAdvisor.Paragraph | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |