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.

probe

I/O and state data for blocks

Syntax

probe
probe s:b
probe gcb
probe level level-type
p

Description

probe sets the Simulink® debugger to interactive probe mode. In this mode, the debugger displays the I/O of a selected block. To exit interactive probe mode, enter a debugger command or press the Enter key.

probe s:b displays the I/O of the block whose system index is s and block index is b.

probe gcb displays the I/O of the currently selected block.

probe level level-type sets the verbosity level for probe, trace, and dis. If level-type is io, the debugger displays block I/O. If level-type is all (default), the debugger displays all information for the current state of a block, including inputs and outputs, states, and zero crossings.

p is the short form of the command.

Examples

Display I/O for the currently selected block Out2 in the model vdp using the Simulink debugger.

  1. In the MATLAB Command Window, enter:

    sldebug 'vdp'

    The MATLAB command prompt >> changes to the Simulink debugger prompt (sldebug @0): >>.

  2. Enter:

    probe gcb

    The MATLAB Command Window displays:

    probe: Data of 0:3 Outport block 'vdp/Out2':
    U1     = [0]

See Also

|

Introduced in R2007a

Was this topic helpful?