Main Content
setInformation
Add description of subcheck to result
Syntax
setInformation(
ft_obj
, text
)
Description
setInformation(
is
an optional method that adds text as the first item after the subcheck
title. Use this method to add information describing the subcheck.ft_obj
, text
)
Input Arguments
|
A handle to a template object. |
|
A character vector or a handle to a formatting object, that describes the subcheck. Valid formatting objects are: The Model Advisor displays |
Examples
Create a list object, ft
, and specify a subcheck
title and description:
ft = ModelAdvisor.FormatTemplate('ListTemplate'); setSubTitle(ft, ['Check for constructs in the model '... 'that are not supported when generating code']); setInformation(ft, ['Identify blocks that should not '... 'be used for code generation.']);