Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Plots Not Visible in Simulink Scope Block

Before you execute your application in external mode, you must specify the following for data to plot in a Simulink® Scope block:

  1. Select Simulation > Mode > External.

  2. Select one or more signals for capture (designated with X) in the External Signal & Triggering dialog box from the External Mode Control Panel.

  3. Set Duration * Fixed Step Size close to or less than the X range in the Scope block

  4. Select required mode (one-shot or normal)

  5. Configure signal levels to allow triggering

  6. Set Y range on Simulink Scope block axes to large enough to span the signal amplitude

  7. Set X range to large enough to provide required time resolution

  8. Set Arm when connect to target in the External Signal & Triggering dialog box or Arm Trigger in the External Mode Control Panel.

  9. 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.

Was this topic helpful?