Analyzing the state space model consisting of system of matrix equations:
dx = A*x + B*u
y = C*x + D*u
We can see that size of y (the output) is determined by the number of rows in C and D matrices (number of rows in both matrices must be equal).
In your case size(C) = [1,4]
, that is the number of rows is 1 so you have only one output.
If you want to extract the whole state you can set C = eye(4)
and modify D so that size(D) = [4,1]
(as you have 4 outputs now and 1 input).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…