0% found this document useful (0 votes)
13 views23 pages

Simulink 1

Simulink is a MATLAB add-on used for simulating dynamic systems and models. It allows users to create graphical block diagrams representing systems of differential equations. Models are built by dragging and dropping blocks from the Simulink library onto the model editor canvas. Simulink simulations can be driven by data specified in MATLAB scripts, allowing flexible parameterization without modifying the underlying Simulink model.

Uploaded by

ngocthaole399
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)
13 views23 pages

Simulink 1

Simulink is a MATLAB add-on used for simulating dynamic systems and models. It allows users to create graphical block diagrams representing systems of differential equations. Models are built by dragging and dropping blocks from the Simulink library onto the model editor canvas. Simulink simulations can be driven by data specified in MATLAB scripts, allowing flexible parameterization without modifying the underlying Simulink model.

Uploaded by

ngocthaole399
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/ 23

Simulink

What is Simulink?
• Simulink is an “add-on” to MATLAB.
• You need to have MATLAB in order to use
Simulink
• Simulink is used for Simulation of dynamic models
• In Simulink we create a Graphical Block Diagram
for the system (based on the differential
equations(s))
Simulink Model
Start Simulink from MATLAB
Simulink Model Editor
Simulink Library Browser
Simulink Example
Simulink Example II
First Simulink Model
First Simulink Model
First Simulink Model
First Simulink Model
Bacteria Population
Simulink Block Diagram for the
Model
Simulink Block Diagram for the
Model
Exercise
1: Input signal is sin t . It is fed into an amplifier with
gain 2. Simulate the output of the amplifier
Exercise
4.
Exercise (cont’)
1.

2.

3.
Combining MATLAB and Simulink
• Data-driven Modelling
• You may use Simulink together with MATLAB in
order to specify data and parameters to your Simulink
model.
• You may specify commands in the MATLAB
Command Window or as commands in an m-file
(Script).
• This is called data-driven modeling
• Instead of using values directly we use variables
instead - This is more flexible because we can easily
change Simulation Parameters without touching the
Simulink Model
Combining MATLAB and Simulink
Combining MATLAB and Simulink
Mass-Spring-Damper System

You might also like