Main Content

Value property

类: ModelAdvisor.InputParameter
命名空间: ModelAdvisor

输入参数的值

取决于 Type 属性。

描述

Value 属性指定输入参数的初始值。仅当 Type 属性是以下各项之一时,此属性才有效:

  • 'Bool'

  • 'String'

  • 'Enum'

  • 'ComboBox'

示例

% define input parameters
inputParam1 = ModelAdvisor.InputParameter;
inputParam1.Name = 'Skip font checks.';
inputParam1.Type = 'Bool';
inputParam1.Value = false;