Contents

Type property

Class: ModelAdvisor.InputParameter
Package: ModelAdvisor

Input parameter type

Values

String.

Default: '' (null string)

Description

The Type property specifies the type of input parameter.

Use the Type property with the Value and Entries properties to define input parameters.

Valid values are listed in the following table.

TypeData TypeDefault ValueDescription
BoolBooleanfalseA check box
ComboBoxCell arrayFirst entry in the listA drop-down menu
  • Use Entries to define the entries in the list.

  • Use Value to indicate a specific entry in the menu or to enter a value not in the list.

EnumCell arrayFirst entry in the listA drop-down menu
  • Use Entries to define the entries in the list.

  • Use Value to indicate a specific entry in the list.

PushButtonN/AN/A

A button

When you click the button, the callback function specified by Entries is called.

StringString'' (null string)A text box

Examples

% define input parameters
inputParam1 = ModelAdvisor.InputParameter;
inputParam1.Name = 'Skip font checks.';
inputParam1.Type = 'Bool';
inputParam1.Value = false;
Was this topic helpful?