getxu
States and inputs from operating points
Syntax
x = getxu(op_point)
[x,u] = getxu(op_point)
[x,u,xstruct] = getxu(op_point)
Description
x = getxu(op_point) extracts a vector of state values, x, from the operating point
object, op_point. The ordering of states in x is the same as that used by Simulink
software.
[x,u] = getxu(op_point) extracts a vector of state values, x, and a vector of input
values, u, from the operating point object, op_point. States in x and inputs in u are
ordered in the same way as for Simulink.
[x,u,xstruct] = getxu(op_point) extracts a vector of state values, x, a vector of
input values, u, and a structure of state values, xstruct, from the operating point object,
op_point. The structure of state values, xstruct, has the same format as that returned
from a Simulink simulation. States in x and xstruct and inputs in u are ordered in the
same way as for Simulink.
Examples
Create an operating point object for the magball model by typing:
op=operpoint('magball');
To view the states within this operating point, type:
op.States
15 Alphabetical List