AddInput

The AddInput function is part of the model object.

It's used to add new inputs to your model.

Syntax

model.AddInput(Name,Default,Source)

Parameters

Name: A string containing the human-readable name of this point. This name will appear everywhere the data point is published.

Default: A default value that the input should have.

Source: Optional - Defaults to None The path to an internal or external source of data for this input. This parameter is discussed in the example of connecting a model to live data.

See Also