We intend for this book to serve as a tutorial for new users of Simulink and as a reference for experienced users. The book covers all of the important capabilities of Simulink, including subsystems, masking, callbacks, S-Functions, and debugging. The book is meant to be used with Simulink 5 and subsequent revisions. The examples were produced with Simulink Version 5.0. Simulink is a programming language specifically designed for simulating dynamical systems. Therefore, in order for you to use Simulink effectively, you should have the appropriate mathematical preparation. We assume you have a good understanding of the concepts usually covered in the introductory courses in calculus and differential equations. However, as many new users of Simulink may be unfamiliar with block diagram notation, we included a chapter that introduces the notation. USING THE BOOK Here, we offer suggested reading sequences for new users of Simulink, for users experienced with a previous version of Simulink, and for advanced users ready to take advantage of all of the power of Simulink. New Users It is possible to model fairly complex systems with basic proficiency with Simulink. The fastest way to gain this basic proficiency is to adhere to the following sequence: If you are new to block diagrams, read Sections 2.1 and 2.2. These sections introduce block diagram notation and illustrate using block diagrams to model scalar continuous systems. Carefully work through all of the examples in Chapters 3 and 4 to master the mechanics of building and running models. Read Sections 5.1, 5.2, and 5.4 and experiment with the examples. After completing this material, you should be comfortable building and running models of scalar continuous systems. As you gain proficiency with Simulink, complete Chapter 2, then work through the rest of Chapter 5 and Chapter 6. If you have access to Stateflow, work through Chapter 14. If you have access to Real-Time Workshop, work through Sections 15.1 through 15.3 and read Section 15.4. If you have access to xPC, also work through Section 15.4. Experienced Users If you are experienced with a previous version of Simulink, or, if you are a new user, after you have acquired basic proficiency, we suggest you proceed as follows: Read Section 3.4. The new help system provides detailed online documentation for all Simulink blocks. We believe that you will find the help system to be easy to use and to be a real time saver. Review Chapter 4. The Simulink user interface has many improvements over the previous version of Simulink. Pay particular attention to Section 4.8 concerning selecting and configuring a solver. Scan Chapters 5 and 6. Pay particular attention to Section 5.2.1. Read Sections 7.1 and 7.2, then work through Sections 7.3 and 7.4 in detail. Learning to use conditionally executed subsystems will allow you to build efficient models. Read Chapter 8, even if you don't plan to use the analysis capabilities right away. You may well discover that the analysis tools will make your use of Simulink much more productive. Read Chapter 12 carefully. The new debugging features can save lots of time. Review Chapter 13. An understanding of the numerical issues can allow you to build models that are faster and more accurate. Advanced Users If you are already experienced with Simulink 5, we suggest you proceed as follows: Scan Chapter 4 to review the basics of model building, and scan Chapter 13 to review the numerical issues. Read Chapters 7 and 8 to review subsystems, masking, and Simulink analysis tools. If you intend to build graphical user interfaces or interactive animations, read Chapter 9 and study the examples. Review Chapter 10, particularly Sections 10.1 through 10.4. Even if you don'tDabney, James B. is the author of 'Mastering Simulink', published 2003 under ISBN 9780131424777 and ISBN 0131424777.