States and inputs from operating points
x = getxu(op)
[x,u] = getxu(op)
[x,u,xstruct] = getxu(op)
x = getxu(op)
extracts a vector of state values,
x
, from the operating point object, op
.
[x,u] = getxu(op)
also extracts a vector of input
values, u
, from the operating point object. The ordering of inputs in
u
corresponds to the root-level input port numbering in
Simulink®.
[x,u,xstruct] = getxu(op)
also extracts a
structure of state values, xstruct
, from the operating point object.
The structure of state values, xstruct
, has the same format as that
returned from a Simulink simulation.