Chapter 3: The Simulink

Posted on 8:08 PM Under 0 comments

Simulink is one the powerful toolboxes in Matlab which is used for graphical representation of model systems and their simulations. In this, block diagrams are used as different elements of the system. You can also use an output virtual port such as spectrum analysers, error checkers and others. So to start, you can type,
>>Simulink


Or you can click the Simulink Library Browser here: (the one in yellow box)


And this window will pop-up:


You can use the search button to find the block element you need.

From here, you can start putting a simple system like this, I’m making a simple transmission system:


You can change the blocks parameter by double clicking the icon. You must connect the blocks in the system, to do this click the arrow icon, before or after the block element and drag it to the next block element you want. So, for the block properties of each element I used these values:

Random Integer:                FM Modulator Passband:     Square root:            Gain:
M-ary number = 2                Carrier frequency = 300            *default settings        Gain = 5
Initial seed = 37                    initial phase = 0                           
Sample time = 1.2945e-8     frequency deviation = 50
Output data type: double
*uncheck everything

For the scope, I used the spectrum analyzer block with default settings.

After placing and connecting all the blocks click the play button at the top and look at the result. Here is what I got. Check/solve also manually if the output you desire is correct.


So that’s it, the basics of Simulink in MATLAB. Up next the Laplace Transform.


About the author

Paul Ryan A. Dedumo is a blogger and an Electronics and Communication Engineering student at University of San Carlos. Learn and inspire as you follow him in his links, blog and other social media accounts.


0 comments