Main Content

getpar

Parameter values and properties of idnlgrey model parameters

Syntax

getpar(model)
getpar(model,prop)

Arguments

model

Name of the idnlgrey model object.

Property

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

Default: 'Value'.

Description

getpar(model) gets the model parameter values in the 'Value' field of the Parameters model property.

getpar(model,prop) gets the model parameter values in the prop field of the Parameters model property. prop can be 'Name', 'Unit', 'Value', 'Minimum', and 'Maximum'.

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

Version History

Introduced in R2007a