Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

setSubTitle - Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Add title for subcheck in result

Syntax

setSubTitle(ft_obj, title)

Description

setSubTitle(ft_obj, title) is an optional method that adds a subcheck result title. Use this method when you create subchecks to distinguish between them in the result.

Inputs

ft_obj

A handle to a template object.

title

A string or a handle to a formatting object specifying the title of the subcheck.

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

Examples

Create a list object, ft, and add a subcheck title:

ft = ModelAdvisor.FormatTemplate('ListTemplate');
setSubTitle(ft, ['Check for constructs in the model '...
    'that are not supported when generating code']);

See Also

Customizing the Model Advisor — Describes how to create custom checks
Formatting Model Advisor Results — Describes how to format Model Advisor results
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS