Skip to content

setBounds (Model)

Set bounds for model quantities

Syntax

model = setBounds(input, boundsStruct)
model = setBounds(input [, name, bounds])

Input arguments

model [ Model ]

Model object in which the bounds for selected quantities will be changed.

boundsStruct [ struct ]

Struct from which the new bounds will be assigned; each field name in the struct must be a valid model name, and its value must be a numeric vector of up to 4 values.

name [ stringk ]

Valid model name.

value [ numeric ]

Numeric vector of up to 4 values: a lower bound for the level of the respective quantity, an upper bound for the level, a lower bound for the change in the quantity (used only in the steady function), and an upper bound for the change (used only in the steady function).

Output arguments

model [ ]

Model object with the new bounds assigned.

Options

zzz=default [ zzz | ___ ]

Description

Description

Examples