Introduction to Simulink with Engineering Applicatioins, Second Edition

This chapter is an introduction to Simulink. This author feels that it is best to introduce Simulink in this chapter with a few examples. Tools for simulation and model-based designs are presented in the subsequent chapters. Some familiarity with MATLAB is essential in understanding Simulink, and for this purpose, Appendix A is included as an introduction to MATLAB.
The MATLAB and Simulink environments are integrated into one entity, and thus we can analyze, simulate, and revise our models in either environment at any point. We invoke Simulink from within MATLAB. We begin with a few examples and we will discuss generalities in subsequent chapters. Throughout this text, a left justified horizontal bar will denote the beginning of an example, and a right justified horizontal bar will denote the end of the example. These bars will not be shown whenever an example begins at the top of a page or at the bottom of a page. Also, when one example follows immediately after a previous example, the right justified bar will be omitted.
For the electric circuit of Figure 1.1, u 0(t) [1] is the input and the initial conditions are i L(0 -) = 0, and v c(0) = 0.5 V. We will compute v C(t).
For this example,
| (1.1) | |
and by Kirchoff's voltage law (KVL),
| (1.2) | |
Substitution of (1.1) into (1.2) yields
| (1.3) | |
Substituting...