get
Access model property values
Syntax
Value = get(sys,'PropertyName')
Struct = get(sys)
Description
Value = get(sys,'PropertyName')
returns the current value of the property PropertyName of
the model object sys. 'PropertyName' can
be the full property name (for example, 'UserData')
or any unambiguous case-insensitive abbreviation (for example, 'user').
See reference pages for the individual model object types for a list
of properties available for that model.
Struct = get(sys) converts
the TF, SS, or ZPK object sys into a standard MATLAB® structure
with the property names as field names and the property values as
field values.
Without left-side argument,
get(sys)
Examples
Tips
An alternative to the syntax
Value = get(sys,'PropertyName')
is the structure-like referencing
Value = sys.PropertyName
For example,
sys.Ts sys.A sys.user
return the values of the sample time, A matrix,
and UserData property of the (state-space) model sys.
Version History
Introduced before R2006a