SlideShare a Scribd company logo
1 of 32
11
Lecture Series – 7
Introduction to SIMULINK
Shameer Koya
Simulink
 Used to model, analyze and simulate dynamic systems
using block diagrams.
 Simulink is a graphical, “drag and drop” environment for
building simple and complex signal and system dynamic
simulations – therefore is easy to use.
 It allows users to concentrate on the structure of the
problem, rather than having to worry about a programming
language.
 We simulate a model to study the behavior of a system –
need to verify that our model is correct
2
Launch Simulink
3
Create a new model
Click the new-model icon in
the upper left corner to
start a new Simulink file
Create new model under
file/new/model.
4
Your workspace
5
6
Simulink- libraries
 Sources: blocks that have only output, generators,
constant,...
 Sinks: blocks that have only input, scope, to worspace..
 Continuous; integrator, transfer function..
 Discrete: discrete transfer function, unite delay,
memory..
 Math operations: gain, product, sum, trigonometric
functions..
 User defined functions: S-function, S-function builder,..
 SimPowersystem: Electrical blocks – electrical sources,
machines, measurements, ….
7
Libraries ….
8
Creating a model
 Model is created by choosing the blocks from different
libraries, dragging them to model window and linking
them.
 The parameters of block (shown on picture, sine wave
parameters), can be reached with double click on the block.
Select an input block
 Drag a Sine Wave block from
the Sources library to the model
window
9
Select an operator block
10
Select an output block
 Drag a Scope block from the Sinks library to the model
window
11
Connect blocks with signals
 Place your cursor on the
output port (>) of the
Sine Wave block
 Drag from the Sine Wave
output to the Integrator
input
 Drag from the Integrator
output to the Scope
input
 Arrows indicate the
direction of the signal
flow
12
Set block parameters
 The parameters of block (shown on picture, sine wave
and integrator parameters), can be reached with
double click on the block
13
Configuration parameters
 Numerical solver method, start time, stop time (it
can be also set directly)...
14
Run the simulation
 In the model window, from the Simulation pull-down
menu, select Start
15
Simulation results
 Double-click on the Scope to view the simulation results
16
17
Summary
Type the following at the Matlab
command prompt
>> simulink
The Simulink library should appear
Click File-New to create a new
workspace, and drag and drop
objects from the library onto the
workspace.
Selecting Simulation-Start from the
pull down menu will run the dynamic
simulation. Click on the blocks to
view the data or alter the run-time
parameters
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Thanks
Questions ??

More Related Content

What's hot

Lecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical ModelingLecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical Modeling
Leonides De Ocampo
 

What's hot (20)

Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
Simulink Stateflow workshop
 Simulink Stateflow workshop Simulink Stateflow workshop
Simulink Stateflow workshop
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1
 
Introduction to MATLAB
Introduction to MATLABIntroduction to MATLAB
Introduction to MATLAB
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Introduction to MATLAB
Introduction to MATLABIntroduction to MATLAB
Introduction to MATLAB
 
Introduction to Digital Signal Processing (DSP)
Introduction  to  Digital Signal Processing (DSP)Introduction  to  Digital Signal Processing (DSP)
Introduction to Digital Signal Processing (DSP)
 
ppt on PLC
ppt on PLCppt on PLC
ppt on PLC
 
STate Space Analysis
STate Space AnalysisSTate Space Analysis
STate Space Analysis
 
PLC LADDER DIAGRAM
PLC LADDER DIAGRAMPLC LADDER DIAGRAM
PLC LADDER DIAGRAM
 
Lecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical ModelingLecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical Modeling
 
Introduction to control systems
Introduction to control systemsIntroduction to control systems
Introduction to control systems
 
Matlab Workshop Presentation
Matlab Workshop PresentationMatlab Workshop Presentation
Matlab Workshop Presentation
 
Bode plot
Bode plotBode plot
Bode plot
 
Convolution
ConvolutionConvolution
Convolution
 
Matlab for Electrical Engineers
Matlab for Electrical EngineersMatlab for Electrical Engineers
Matlab for Electrical Engineers
 
Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report
 
Lyapunov stability
Lyapunov stability Lyapunov stability
Lyapunov stability
 

Similar to Matlab simulink introduction

Simulink Presentation.ppt
Simulink Presentation.pptSimulink Presentation.ppt
Simulink Presentation.ppt
hodeeeeee1
 
Simulink7-GEtting Started Guide Simulink7-GEtting Started Guide.ppt
Simulink7-GEtting Started Guide Simulink7-GEtting Started Guide.pptSimulink7-GEtting Started Guide Simulink7-GEtting Started Guide.ppt
Simulink7-GEtting Started Guide Simulink7-GEtting Started Guide.ppt
HassenMOuakkad
 
matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginners
A Rajendran Jps
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5
Amba Research
 

Similar to Matlab simulink introduction (20)

Simulink Presentation.ppt
Simulink Presentation.pptSimulink Presentation.ppt
Simulink Presentation.ppt
 
Matlab simulink
Matlab simulinkMatlab simulink
Matlab simulink
 
Create a ppt on matlab 23285A0210 VARDHAN..pptx
Create a ppt on matlab 23285A0210 VARDHAN..pptxCreate a ppt on matlab 23285A0210 VARDHAN..pptx
Create a ppt on matlab 23285A0210 VARDHAN..pptx
 
Xcos for very beginners
Xcos for very beginnersXcos for very beginners
Xcos for very beginners
 
Advance communication system manual
Advance communication system manualAdvance communication system manual
Advance communication system manual
 
Simulink7-GEtting Started Guide Simulink7-GEtting Started Guide.ppt
Simulink7-GEtting Started Guide Simulink7-GEtting Started Guide.pptSimulink7-GEtting Started Guide Simulink7-GEtting Started Guide.ppt
Simulink7-GEtting Started Guide Simulink7-GEtting Started Guide.ppt
 
matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginners
 
LAB 1.docx
LAB 1.docxLAB 1.docx
LAB 1.docx
 
Mentor manual
Mentor manualMentor manual
Mentor manual
 
Vlsi cadence tutorial_ahmet_ilker_şin
Vlsi cadence tutorial_ahmet_ilker_şinVlsi cadence tutorial_ahmet_ilker_şin
Vlsi cadence tutorial_ahmet_ilker_şin
 
First steps with Scilab
First steps with ScilabFirst steps with Scilab
First steps with Scilab
 
Ads
AdsAds
Ads
 
Lab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).pptLab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).ppt
 
CIC_Manual.pdf
CIC_Manual.pdfCIC_Manual.pdf
CIC_Manual.pdf
 
Cadence manual
Cadence manualCadence manual
Cadence manual
 
Working with Simulink
Working with SimulinkWorking with Simulink
Working with Simulink
 
Picaxe manual5
Picaxe manual5Picaxe manual5
Picaxe manual5
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5
 
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
Webinar: Começando seus trabalhos com Machine Learning utilizando ferramentas...
 
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDE
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDEIntroduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDE
Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB® IDE
 

More from Ameen San

More from Ameen San (20)

Application of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage RegulationApplication of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage Regulation
 
Distribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss CalculationDistribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss Calculation
 
Load Characteristics
Load CharacteristicsLoad Characteristics
Load Characteristics
 
ELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGY
 
Stepper motor
Stepper motor Stepper motor
Stepper motor
 
PLC application
PLC applicationPLC application
PLC application
 
PLC arithmatic functions
PLC arithmatic functionsPLC arithmatic functions
PLC arithmatic functions
 
PLC data types and addressing
PLC data types and addressingPLC data types and addressing
PLC data types and addressing
 
PLC Counters
PLC CountersPLC Counters
PLC Counters
 
PLC Traffic Light Control
PLC Traffic Light ControlPLC Traffic Light Control
PLC Traffic Light Control
 
PLC Timers
PLC TimersPLC Timers
PLC Timers
 
PLC Internal Relays
PLC Internal RelaysPLC Internal Relays
PLC Internal Relays
 
PLC Intro to programming
PLC Intro to programmingPLC Intro to programming
PLC Intro to programming
 
PLC Logic Circuits
PLC Logic CircuitsPLC Logic Circuits
PLC Logic Circuits
 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices
 
PLC Applications
PLC ApplicationsPLC Applications
PLC Applications
 
Protection Devices and the Lightning
Protection Devices and the LightningProtection Devices and the Lightning
Protection Devices and the Lightning
 
Protection
ProtectionProtection
Protection
 
Relays
RelaysRelays
Relays
 
Circuit Breakers
Circuit BreakersCircuit Breakers
Circuit Breakers
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 

Recently uploaded (20)

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 

Matlab simulink introduction

  • 1. 11 Lecture Series – 7 Introduction to SIMULINK Shameer Koya
  • 2. Simulink  Used to model, analyze and simulate dynamic systems using block diagrams.  Simulink is a graphical, “drag and drop” environment for building simple and complex signal and system dynamic simulations – therefore is easy to use.  It allows users to concentrate on the structure of the problem, rather than having to worry about a programming language.  We simulate a model to study the behavior of a system – need to verify that our model is correct 2
  • 4. Create a new model Click the new-model icon in the upper left corner to start a new Simulink file Create new model under file/new/model. 4
  • 6. 6 Simulink- libraries  Sources: blocks that have only output, generators, constant,...  Sinks: blocks that have only input, scope, to worspace..  Continuous; integrator, transfer function..  Discrete: discrete transfer function, unite delay, memory..  Math operations: gain, product, sum, trigonometric functions..  User defined functions: S-function, S-function builder,..  SimPowersystem: Electrical blocks – electrical sources, machines, measurements, ….
  • 8. 8 Creating a model  Model is created by choosing the blocks from different libraries, dragging them to model window and linking them.  The parameters of block (shown on picture, sine wave parameters), can be reached with double click on the block.
  • 9. Select an input block  Drag a Sine Wave block from the Sources library to the model window 9
  • 10. Select an operator block 10
  • 11. Select an output block  Drag a Scope block from the Sinks library to the model window 11
  • 12. Connect blocks with signals  Place your cursor on the output port (>) of the Sine Wave block  Drag from the Sine Wave output to the Integrator input  Drag from the Integrator output to the Scope input  Arrows indicate the direction of the signal flow 12
  • 13. Set block parameters  The parameters of block (shown on picture, sine wave and integrator parameters), can be reached with double click on the block 13
  • 14. Configuration parameters  Numerical solver method, start time, stop time (it can be also set directly)... 14
  • 15. Run the simulation  In the model window, from the Simulation pull-down menu, select Start 15
  • 16. Simulation results  Double-click on the Scope to view the simulation results 16
  • 17. 17 Summary Type the following at the Matlab command prompt >> simulink The Simulink library should appear Click File-New to create a new workspace, and drag and drop objects from the library onto the workspace. Selecting Simulation-Start from the pull down menu will run the dynamic simulation. Click on the blocks to view the data or alter the run-time parameters
  • 18. 18
  • 19. 19
  • 20. 20
  • 21. 21
  • 22. 22
  • 23. 23
  • 24. 24
  • 25. 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. 29
  • 30. 30
  • 31. 31