Thursday, September 19, 2013

Create a Subsystem

A helpful way to understand a complex circuit is by creating different subsystems to have a general view. Here I would like to explain the steps to create this block in Simulink.

There are many ways to create a subsystem, but the easiest way I found is the following:

First of all, draw the circuit you like in a Simulink model as normally:

Circuit inside subsystem
After selecting all components, go to Diagram/Subsystem & Model Reference/Create subsystem from selection. The block created would be like the next one:
Subsytem created

Notice that the different pins have been created acorded with the signal type inside the block. And if now we double click the model, it can be seen that the input and output pins have been added.

Circuit inside subsytem


After that, we just need to rename the model and we can use it as a subsystem in a bigger circuit and repeat it as many times as it is needed.

Final circuit with subsytem
Hope this post was helpful!


Licencia Creative Commons

No comments :

Post a Comment