This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

setSubResultStatus

Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Add status to the 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 character vector identifying the status of the check:

Pass: Check did not identify issues.
D-Pass: Dependent on configuration parameter. Check did not identify issues.
Warn: Check has identified issues.
Fail: Check fails to execute.

Examples

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

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