User`s guide

Table Of Contents
connect
11-35
externaloutputsare outputs2 and7 of sys,theninputs and outputs should
be set to
inputs = [1 2 15];
outputs = [2 7];
The final model sysc has these particular inputs and outputs.
Since it is easy to make a mistake entering all the data required for a large
model, be sure to verify your model in as many ways as you can. Here are some
suggestions:
Make sure the poles of the unconnected model
sys matchthepolesofthe
various blocks in the diagram.
Check that the final poles and DC gains are reasonable.
Plot the
step and bode responses of sysc and compare them with your
expectations.
Ifyou needto workextensivelywithblock diagrams, Simulinkisa much easier
and more comprehensive tool for model building.
Example Consider the following block diagram
x
·
Ax Bu+=
yCxDu+=
2s1+()
s2+
--------------------
10
s 5+
------------
y
1
y
2
u
2
u
1
u
c
sys1
sys2
sys3
+