PacktLib: Getting Started with Simulink

Getting Started with Simulink

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Simulink Facts

What is Simulink?

Problems solved by Simulink

Simulink drawbacks

Where Simulink excels

Summary

Creating a Model

The MATLAB environment

The Simulink interface

Our first model – a cruise controller

Our second model – the Alfa Romeo 147 GTA

Summary

Simulating a Model

The mandatory theory

Build the complete closed-loop system

Configuring the simulation

Run our first serious simulation

Test with other sources

Summary

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