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.

    Note:   Use the ModelAdvisor.FormatTemplate class in check callbacks.

Examples

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

ft = ModelAdvisor.FormatTemplate('ListTemplate');
Was this topic helpful?