Contenido principal

setSubResultStatus

Add status to the check or subcheck result in Model Advisor analysis results

Description

setSubResultStatus(ftObj,status) is an optional method that displays the status of checks or subchecks in the report generated by the Model Advisor formatting object ftObj. Use status to specify the status of the check or subcheck.

example

Examples

collapse all

This example demonstrates how to indicate the status of failed checks in Model Advisor results.

Create a list template object.

ft = ModelAdvisor.FormatTemplate("ListTemplate");

Set the result status to fail.

setSubResultStatus(ft,'fail');

Input Arguments

collapse all

ModelAdvisor.FormatTemplate object, specified as a handle to the formatting template.

Character vector that indicates the status of the check or subcheck.

Example: 'Pass'

Version History

Introduced in R2009a