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 (20)

Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
Introduction to simulink (1)
Introduction to simulink (1)Introduction to simulink (1)
Introduction to simulink (1)
 
ppt on PLC
ppt on PLCppt on PLC
ppt on PLC
 
simulink
simulinksimulink
simulink
 
Matlab Introduction
Matlab IntroductionMatlab Introduction
Matlab Introduction
 
Matlab Basic Tutorial
Matlab Basic TutorialMatlab Basic Tutorial
Matlab Basic Tutorial
 
Matlab practical and lab session
Matlab practical and lab sessionMatlab practical and lab session
Matlab practical and lab session
 
Lecture 5: The Convolution Sum
Lecture 5: The Convolution SumLecture 5: The Convolution Sum
Lecture 5: The Convolution Sum
 
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
 
Lecture 1 Introduction to mechatronics
Lecture 1 Introduction  to mechatronics Lecture 1 Introduction  to mechatronics
Lecture 1 Introduction to mechatronics
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
 
PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)
 
srm
srmsrm
srm
 
Introduction to MATLAB
Introduction to MATLABIntroduction to MATLAB
Introduction to MATLAB
 
Introduction to matlab lecture 1 of 4
Introduction to matlab lecture 1 of 4Introduction to matlab lecture 1 of 4
Introduction to matlab lecture 1 of 4
 
State space models
State space modelsState space models
State space models
 
Mathematical Modelling of Control Systems
Mathematical Modelling of Control SystemsMathematical Modelling of Control Systems
Mathematical Modelling of Control Systems
 
Vector Control of AC Induction Motors
Vector Control of AC Induction MotorsVector Control of AC Induction Motors
Vector Control of AC Induction Motors
 
Bode Plot Notes Step by Step
Bode Plot Notes Step by StepBode Plot Notes Step by Step
Bode Plot Notes Step by Step
 
Actuators.ppt
Actuators.pptActuators.ppt
Actuators.ppt
 

Similar to Matlab simulink introduction

Simulink Presentation.ppt
Simulink Presentation.pptSimulink Presentation.ppt
Simulink Presentation.ppthodeeeeee1
 
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..pptxeshwar80
 
Xcos for very beginners
Xcos for very beginnersXcos for very beginners
Xcos for very beginnersScilab
 
Advance communication system manual
Advance communication system manualAdvance communication system manual
Advance communication system manualanuruddhsharma1
 
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.pptHassenMOuakkad
 
matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginnersA Rajendran Jps
 
Vlsi cadence tutorial_ahmet_ilker_şin
Vlsi cadence tutorial_ahmet_ilker_şinVlsi cadence tutorial_ahmet_ilker_şin
Vlsi cadence tutorial_ahmet_ilker_şinilker Şin
 
First steps with Scilab
First steps with ScilabFirst steps with Scilab
First steps with ScilabScilab
 
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).pptBakiyalakshmiR1
 
CIC_Manual.pdf
CIC_Manual.pdfCIC_Manual.pdf
CIC_Manual.pdfRMani7
 
Working with Simulink
Working with SimulinkWorking with Simulink
Working with Simulinkthesisncode
 
learn matlab for ease Lec5
learn matlab for ease Lec5learn matlab for ease Lec5
learn matlab for ease Lec5Amba Research
 
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...Embarcados
 
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® IDEPantech ProLabs India Pvt Ltd
 

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

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 RegulationAmeen San
 
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 CalculationAmeen San
 
Load Characteristics
Load CharacteristicsLoad Characteristics
Load CharacteristicsAmeen San
 
ELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYAmeen San
 
Stepper motor
Stepper motor Stepper motor
Stepper motor Ameen San
 
PLC application
PLC applicationPLC application
PLC applicationAmeen San
 
PLC arithmatic functions
PLC arithmatic functionsPLC arithmatic functions
PLC arithmatic functionsAmeen San
 
PLC data types and addressing
PLC data types and addressingPLC data types and addressing
PLC data types and addressingAmeen San
 
PLC Counters
PLC CountersPLC Counters
PLC CountersAmeen San
 
PLC Traffic Light Control
PLC Traffic Light ControlPLC Traffic Light Control
PLC Traffic Light ControlAmeen San
 
PLC Internal Relays
PLC Internal RelaysPLC Internal Relays
PLC Internal RelaysAmeen San
 
PLC Intro to programming
PLC Intro to programmingPLC Intro to programming
PLC Intro to programmingAmeen San
 
PLC Logic Circuits
PLC Logic CircuitsPLC Logic Circuits
PLC Logic CircuitsAmeen San
 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices Ameen San
 
PLC Applications
PLC ApplicationsPLC Applications
PLC ApplicationsAmeen San
 
Protection Devices and the Lightning
Protection Devices and the LightningProtection Devices and the Lightning
Protection Devices and the LightningAmeen San
 
Circuit Breakers
Circuit BreakersCircuit Breakers
Circuit BreakersAmeen 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

Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadaditya806802
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptbibisarnayak0
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate productionChinnuNinan
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxachiever3003
 

Recently uploaded (20)

Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasad
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.ppt
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate production
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information 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