This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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 character vector 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');