What is Simulink? Simulink is a visual programming interface designed to make modelling systems intuitive. It offers
a way to solve equations numerically using a graphical user interface, rather than requiring code.
Models contain blocks, signals and annotation on a background:.
Blocks are mathematical functions, they can have varying numbers of inputs and outputs.
Signals are linesconnecting blocks, transferring values between them. Signals are different data
types, for example numbers, vectors or matrices. Signals can be labelled.
Annotations of text or images can be added to the model, and while not used in the calculations
they can make it easier for others to understand design decisions in the model.
The Simulink Toolbar Above the main canvas of a Simulink model, is the toolbar. Text Annotation
Blocks
Signal and Label
Run Model To run the simulation, press the
green arrow. Be aware there are
different modes e.g. ‘Normal’. If
you are working with hardware
the mode will be ‘External’.
The textbox is how many
seconds you want the simulation
to run for.
Model Settings All of the settings related
to how to numerically solve
the equations of the model
are found in “Model
Configuration Parameters”
Cog.
Build Model If your model is interacting
with hardware, you will need
to build the model before it
can run. The current status is
shown in the lower left of the
Simulink window
.
4
Working with Blocks Adding Blocks to Model There are two ways to add blocks to a model: the Library Browser or the Quick Search: