Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

setTableTitle - Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Add title to table

Syntax

setTableTitle(ft_obj, title)

Description

setTableTitle(ft_obj, title) is an optional method that adds a title to a table.

Inputs

ft_obj

A handle to a template object.

title

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

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

The title appears above the table. If you do not add data to the table, the Model Advisor does not display the table and title in the result.

Examples

Create a table object, ft, and add a table title:

ft = ModelAdvisor.FormatTemplate('TableTemplate');
setTitleTitle(ft, 'Table of fonts and styles used in model');

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