Building a Simple Model
Close the Simulation Parameters dialog box by clicking on the Ok button.
Simulink applies the parameters and closes the dialog box.
Choose Start from the Simulation menu and watch the traces of the Scope
block’s input.
The simulation stops when it reaches the stop time specified in the Simulation
Parameters dialog box or when you choose Stop from the Simulation menu.
To save this model, choose Save from the File menu and enter a filename and
location. That file contains the description of the model.
To terminate Simulink and MATLAB, choose Exit MATLAB (on a Microsoft
Windows system) or Quit MATLAB (on a UNIX system). You can also type
quit in the MATLAB command window. If you want to leave Simulink but not
terminate MATLAB, just close all Simulink windows.
This exercise shows you how to perform some commonly used model-building
tasks. These and other tasks are described in more detail in Chapter 3.
2-13