Book description
Written by an experienced engineer, this book will help you utilize the great user-friendly features of Simulink to advance your modeling, testing, and interfacing skills. Packed with illustrations and step-by-step walkthroughs.
- Dig deep into Simulink
- No unnecessary theory - start modelling right away
- Complex concepts made easy through examples
- Packed with illustrations and detailed step-by-step walkthroughs
In Detail
Simulink is an engineer's Swiss army knife: instead of spending the day typing out complex formulas, Simulink enables you to both draw and execute them. Block after block, you can develop your ideas without struggling with obscure programming languages and you don't have to wait to debug your algorithm - just launch a simulation!
Getting Started with Simulink will give you comprehensive knowledge of Simulink's capabilities. From the humble constant block to the S-function block, you will have a clear understanding of what modelling really means, without feeling that something has been left out. By the time you close the book, you'll be able to further extend your modelling skills without any help.
We''ll start with a brief introduction, and immediately start placing the first blocks. Little by little, you'll build a car cruise controller model, followed by the mathematical model of a sports car in order to calibrate it. Then you'll learn how to interface your Simulink model with the external world. This book will give you an easy understanding of the tools Simulink offers you, guiding you through a complex exercise split into the three main phases of Simulink development: modelling, testing, and interfacing.
Table of contents
-
Getting Started with Simulink
- Table of Contents
- Getting Started with Simulink
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Simulink Facts
-
2. Creating a Model
- The MATLAB environment
- The Simulink interface
-
Our first model – a cruise controller
- Step 1 – create and save the model
- Step 2 – do comment the code!
- Step 3 – open Simulink Library Browser
- Step 4 – add blocks to the model from Library Browser
- Step 5 – rename the blocks
- Step 6 – implement the algorithm
- Step 7 – nest the logic into subsystems
- Step 8 – declare workspace variables
- Step 9 – do a first simulation
- Our second model – the Alfa Romeo 147 GTA
- Summary
- 3. Simulating a Model
-
4. Using the Model
- The external software – a Qt5 application
- The Swiss army knife – S-functions
- MATLAB S-functions – file source and sink blocks
- Simulink and the real world
- Going further – C MEX S-functions
- Summary
- Index
Product information
- Title: Getting Started with Simulink
- Author(s):
- Release date: October 2013
- Publisher(s): Packt Publishing
- ISBN: 9781782171386
You might also like
book
Simulation of Dynamic Systems with MATLAB and Simulink, 2nd Edition
"… a seminal text covering the simulation design and analysis of a broad variety of systems …
book
Programming in MATLAB ®
MATLAB ® provides an interactive programming interface for numerical computation and data visualization making it the …
book
Beginning MATLAB and Simulink: From Novice to Professional
Employ essential and hands-on tools and functions of the MATLAB and Simulink packages, which are explained …
book
MATLAB Recipes: A Problem-Solution Approach
Learn from state-of-the-art examples in robotics, motors, detection filters, chemical processes, aircraft, and spacecraft. With this …