User`s guide

2 Getting Started with the Real-Time Workshop
2-24
Then look at the workspace variables:
who
Your variables are:
rt_Pilot_G_force rt_tout
rt_Angle_of_attack rt_xout
rt_Stick_input rt_yout
The variables rt_tout, rt_xout,andrt_yout were logged because the
appropriate time, states, and outputs buttons were clicked on the Workspace
I/O page. The variables
rt_Pilot_G_force, rt_Angle_of_attack,and
rt_Stick_input were saved using the Properties page of the Scope blocks in
the
f14 model. If you are unfamiliar with how to save variables using Scope
blocks, refer to the Simulink documentation. The variables are named
according to the Simulink block that produced them, with spaces changed to
underscores and an
rt_ prefix added to the variable names to identify them as
real-time data.
You can now use MATLAB to plot the three workspace variables as a function
of time:
plot(rt_tout,rt_Stick_input(:,2))
figure
plot(rt_tout,rt_Pilot_G_force(:,2))
figure
plot(rt_tout,rt_Angle_of_attack(:,2))