User`s guide

3 Signals and Parameters
3-52
5 In the Gain text box, enter 800 and click OK.
As soon as you change a model parameter and click
OK, or you click the
Apply
button on the Block Parameters: Gain1 dialog box, all the changed
parameters in the model are downloaded to the target application, as shown
below.
6 From the Simulation menu, click Disconnect from Target.
The Simulink model is disconnected from the target application. Now, if you
change a block parameter in the Simulink model, there is no effect on the
target application. Connecting and disconnecting Simulink works
regardless of whether the target application is running or not.
7 From the Simulation menu, click Stop real-time code, or, in the MATLAB
window, type either
stop(tg) or -tg
The target application on the target PC stops running, and the target PC
displays the following messages:
System: execution stopped
minimal TET: 0.000023 at time 1313.789000
maximal TET: 0.000034 at time 407.956000