Main Content
setCheckText
Add description of check to result
Syntax
setCheckText(
ft_obj
, text
)
Description
setCheckText(
is
an optional method that adds text or a model advisor template object
as the first item in the report. Use this method to add information
describing the overall check. ft_obj
, text
)
Input Arguments
|
A handle to a template object. |
|
A character vector or a handle to a formatting object. Valid formatting objects are:
|
Examples
Create a list object, ft
, and add a line
of text to the result:
ft = ModelAdvisor.FormatTemplate('ListTemplate'); setCheckText(ft, ['Identify unconnected lines, input ports,'... 'and output ports in the model']);