getinit

Values of idnlgrey model initial states

Syntax

getinit(model)
getinit(model,prop)

Arguments

model

Name of the idnlgrey model object.

Property

Name of the InitialStates model property field, such as 'Name', 'Unit', 'Value', 'Minimum', 'Maximum', and 'Fixed'.

Default: 'Value'.

Description

getinit(model) gets the initial-state values in the 'Value' field of the InitialStates model property.

getinit(model,prop) gets the initial-state values of the prop field of the InitialStates model property. prop can be 'Name', 'Unit', 'Value', 'Minimum', 'Maximum', and 'Fixed'.

The returned values are an Nx-by-1 cell array of values, where Nx is the number of states.

See Also

| | |

Was this topic helpful?