Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

setTableInfo - Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Add data to table

Syntax

setTableInfo(ft_obj, {data})

Description

setTableInfo(ft_obj, {data}) is an optional method that creates a table. ft_obj is a handle to a table template object. data is a cell array of strings or objects specifying the information in the body of the table. The Model Advisor creates hyperlinks to objects. If you do not add data to the table, the Model Advisor does not display the table in the result.

Examples

Create a table object, ft, add column titles, and add data to the table:

ft = ModelAdvisor.FormatTemplate('TableTemplate');
setColTitle(ft, {'Index', 'Block Name'});
setTableInfo(ft, {'1', 'Gain'});

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