Book Image

Getting Started with Simulink

By : Luca Zamboni
Book Image

Getting Started with Simulink

By: Luca Zamboni

Overview of this book

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 (11 chapters)

Chapter 2. Creating a Model

In this chapter, we'll learn how to build a Simulink model and run the first simulations.

We'll start with a short description of the MATLAB environment features that we need to know in order to start developing a Simulink model.

Then we'll build a simple model to introduce the basics of Simulink development; we'll learn what the Library Browser is and how to place blocks into the Model Editor.

Finally, we'll develop a more complex model implementing a not-so-simple nonlinear system. There will be a small part of theory detailing the physic equations describing the system before the implementation.