User`s guide
3 Working with Real-Time Workshop
3-26
The Stick Input signal to the scope block is logged to the array
Stick_input during simulation. The generated code logs the same signal
data to the MAT-file variable
Stick_input_rt during a run of the
executable program.
5 Click the Apply button.
6 Configure the Pilot G Force and Angle of Attack Scope blocks similarly,
using the variable names
Pilot_G_force and Angle_of_attack.
7 Save the model.
Logging Simulation Data
The next step is to run the simulation and log the signal data from the Scope
blocks:
1 Open the Stick Input, Pilot G Force, and Angle of Attack Scope blocks.
2 Run the model. The Scope blocks are displayed.