Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan 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.

See Also

| | |

Introduced in R2007a

Was this topic helpful?