Before you execute your application in external mode, you must specify the following for data to plot in a Simulink® Scope block:
Select Simulation > Mode > External.
Select one or more signals for capture (designated
X) in the External Signal & Triggering
dialog box from the External Mode Control Panel.
Set Duration * Fixed
Step Size close to or less than the
in the Scope block
Select required mode (
Configure signal levels to allow triggering
Y range on Simulink Scope
block axes to large enough to span the signal amplitude
X range to large enough to
provide required time resolution
Set Arm when connect to target in the External Signal & Triggering dialog box or Arm Trigger in the External Mode Control Panel.
Click the Run button on the toolbar.
If you still cannot see signals plotted in your Scope blocks, try running one of the example models or run your model at a slower sample rate. If you can see signals plotted under these circumstances, your system cannot transfer data back to MATLAB® for plotting in the CPU time available between sample intervals. Select the fastest sample rate that allows your model to run and plot signals.