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.


Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Add text below status in result


setSubResultStatusText(ft_obj, message)


setSubResultStatusText(ft_obj, message) is an optional method that displays text below the status in the result. Use this method to describe the status.

Input Arguments


A handle to a template object.


A character vector or a handle to a formatting object that the Model Advisor displays below the status in the report.

Valid formatting objects are: ModelAdvisor.Image, ModelAdvisor.LineBreak, ModelAdvisor.List, ModelAdvisor.Paragraph, ModelAdvisor.Table, and ModelAdvisor.Text.


Create a list object, ft, add a passing status and a description of why the check passed:

ft = ModelAdvisor.FormatTemplate('ListTemplate');
setSubResutlStatus(ft, 'Pass');
setSubResultStatusText(ft, ['Constructs that are not supported when '...
    'generating code were not found in the model or subsystem']);