This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.

Introduced in R2007a