User`s guide
Simulink Model
3-13
3 Do one of the following:
- Let the simulation run to the stop time.
- From the
Simulation menu, click Stop.
The simulation stops. MATLAB does not display any messages.
Specifying a Default Real-Time Windows Target
Configuration Set
The preceding sections describe how to use the Simulink Configuration
Parameters
dialog to configure simulation parameters for a Simulink model.
To quickly configure a Simulink model for default Real-Time Windows Target
behavior, use the default Real-Time Windows Target configuration set.
A configuration set is a named set of values for model parameters, such as
solver type and simulation start or stop time. Every new model is created with
a default configuration set, called Configuration, that initially specifies default
values for the model's model parameters. You can subsequently create
additional configuration sets and associate them with the model. See the
Simulink user’s documentation for further details on configuration sets.
After you create a Simulink model, you can specify a default Real-Time
Windows Target configuration set for the model. This procedure uses the
Simulink model
rtwin_model.mdl as an example and assumes you have
already loaded that model (see “Creating a Simulink Model” on page 3-2):
1 In the MATLAB window, type
rtwinconfigset('rtwin_model')
The default Real-Time windows Target configuration set, RTWin, is active
for the
rtwin_model model. You do not need to perform any other
configuration to build a Real-Time Windows Target application.
2 From the File menu, click Save As. The Save As dialog box opens. In the
File name text box, enter a filename for your Simulink model and click
Save. For example, type
rtwin_model
Simulink saves your model in the file rtwin_model.mdl.