User`s guide

Table Of Contents
Working with a Model
1-15
Working with a Model
This section indicates how you can perform common tasks involving the model
you built in the section “Building the Model” on page 1-13. This section
includes:
“Running the Simulation”
“Saving the Model”
“Printing the Model” on page 1-16
Running the Simulation
Run the simulation by choosing Start from the model window’s Simulation
menu. While the simulation is running, you can manipulate the needle of the
Generic Knob block and observe results on the Lower Right gauge block. This
figure shows the model after the needle of the Generic Knob block is moved
from its default position.
To stop the simulation, choose
Stop from the model window’s Simulation
menu.
Saving the Model
Save the model by choosing Save from the model window’s File menu. When
you save a model that contains blocks from the Dials & Gauges Blockset,
MATLAB automatically saves additional files that describe each Dials &
Gauges Blockset block. For example, if you save the model described in this
chapter with the name
sample, then MATLAB saves the following files.
sample.mdl
sample@Generic_Knob.ax
sample@Lower_Right.ax