Simulink - Basics
Simulink - Basics
I. Installing Simulink
Simulink is an add-on to MATLAB. You are required to have MATLAB installed
for you to be able to use Simulink.
1. Open MATLAB.
2. Click Add-ons
4. Select Simulink and install it. You may need your MATLAB License information
(mapua e-mail and Mathworks password) to be able to install it.
5. After installing Simulink, close the Add-ons window. In the MATLAB window, click
Simulink in the Home ribbon.
10. Drag the output arrow head of a block towards the input arrow head of a second block
to connect them.
11. When connected successfully, the arrows should be solid.
II. Types of Blocks
There are some specific blocks that are useful in Process Dynamics and Controls. A block
can be double-clicked to open its properties window.
1. Step
The step block output a step function based on the values of the
parameters entered in its properties window.
a. Step time
This is when the step change will occur. For example, for a step
input at 𝑡 = 0, step time must be 0.
b. Initial value
- starting value of the step input
c. Final value
- final value of the step input
Example: for a unit step input at 𝑡 = 0:
2. Ramp
Transfer Fcn has two parameters: the numerator and the denominator. The
coefficients of 𝑠 is entered in array form for both fields to produce different
transfer functions, as shown below:
5. Scope
The scope block can be used to graph the output.
6. Mux
The Mux block combines two inputs into one output. This is useful when showing the
graphs of different outputs and comparing them.