Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

setSubResultStatus - Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Add status to check or subcheck result

Syntax

setSubResultStatus(ft_obj, 'status')

Description

setSubResultStatus(ft_obj, 'status') is an optional method that displays the status in the result. Use this method to display the status of the check or subcheck in the result. ft_obj is a handle to a template object. status is a string identifying the status of the check. Valid strings are:

Pass
Warn
Fail

Examples

Create a list object, ft, and add a passing status:

ft = ModelAdvisor.FormatTemplate('ListTemplate');
setSubResutlStatus(ft, 'Pass');

See Also

Customizing the Model Advisor — Describes how to create custom checks
Formatting Model Advisor Results — Describes how to format Model Advisor results
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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