Type property
Class: ModelAdvisor.InputParameter
Namespace: ModelAdvisor
Input parameter type
Values
character vector
Default: ''
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.
Type | Data Type | Default Value | Description |
---|---|---|---|
Bool | Boolean | false | A check box |
ComboBox | Cell array | First entry in the list | A drop-down menu
|
Enum | Cell array | First entry in the list | A drop-down menu
|
PushButton | N/A | N/A | A button When you click the button, the callback
function specified by |
String | Character vector | '' | A text box |
Examples
% define input parameters inputParam1 = ModelAdvisor.InputParameter; inputParam1.Name = 'Skip font checks.'; inputParam1.Type = 'Bool'; inputParam1.Value = false;