Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

ModelAdvisor.FormatTemplate - Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Construct template object for formatting Model Advisor analysis results

Syntax

obj = ModelAdvisor.FormatTemplate('type')

Description

obj = ModelAdvisor.FormatTemplate('type') creates a handle, obj, to an object of the ModelAdvisor.FormatTemplate class. type is a string identifying the format type of the template, either list or table. Valid values are ListTemplate and TableTemplate.

You must return the result object to the Model Advisor to display the formatted result in the analysis result pane.

Examples

Create a template object, ft, and use it to create a list template:

ft = ModelAdvisor.FormatTemplate('ListTemplate');

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