Real-Time Windows Target | ![]() ![]() |
Entering Scope Parameters for Signal Tracing
You enter or change scope parameters to format the x-axis and y-axis in a Scope window. Other parameters include the number of graphs in a one Scope window and whether the scope is connected to a continuous or discrete model.
If you entered the scope parameters for running a simulation, you can skip this procedure. This information is repeated here if you did not run a simulation.
After you add a Scope block to your Simulink model, you can enter the scope parameters for signal tracing:
1
for a single graph. Do not select the floating scope check box.
1
second. From the Tick labels list, choose all
.
From the Sampling list, choose Sample time and enter 0
in the text box. Entering 0
indicates that Simulink evaluates this block as a continuous time block. If you have discrete blocks in your model, enter the Fixed step size you entered in the Simulation Parameters dialog box.
Your Scope parameters dialog box will look similar to the figure shown below.
-2
and 2
.![]() | Entering Simulation Parameters for Real-Time Workshop | Creating a Real-Time Application | ![]() |