0% found this document useful (0 votes)
54 views13 pages

Simulink - Basics

Simulink is an add-on to MATLAB that allows modeling and simulation of dynamic systems. It requires MATLAB to be installed first. To use Simulink, search for it in the MATLAB Add-Ons window and install it. After opening Simulink, create a blank model and add blocks from the library browser by dragging them onto the workspace and connecting their input and output ports. Common block types include step, ramp, sine wave, transfer function, scope, and mux blocks.

Uploaded by

Vienice Allana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views13 pages

Simulink - Basics

Simulink is an add-on to MATLAB that allows modeling and simulation of dynamic systems. It requires MATLAB to be installed first. To use Simulink, search for it in the MATLAB Add-Ons window and install it. After opening Simulink, create a blank model and add blocks from the library browser by dragging them onto the workspace and connecting their input and output ports. Common block types include step, ramp, sine wave, transfer function, scope, and mux blocks.

Uploaded by

Vienice Allana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

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

3. In the window that appears, enter “Simulink” in the search bar.

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.

6. Select Blank model.


7. A separate Simulink window will appear. Click on the Library Browser in the
Simulation ribbon.
8. The Library Browser will appear on the side or as a pop-up window. The search bar in
the Library Browser can be used to search for specific blocks.
9. Drag the desired block/s to the Simulink workspace.

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

For a ramp input 𝑋(𝑡) = 𝑡, the slope of the ramp input is 1.


3. Sine Wave
The sine wave block can be used to have a sinusoidal input. The properties
window of the sine wave block shows what each parameter corresponds
to.
4. Transfer Fcn

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.

You might also like