help - Display help for Simulink debugging programmatic interface during simulation debugging

        session - MATLAB ([original](https://www.mathworks.com/help/simulink/slref/help.html)) ([raw](?raw))

Main Content

Display help for Simulink debugging programmatic interface during simulation debugging session

Syntax

Description

help displays complete help information available for the SimulinkĀ® debugging programmatic interface.

You can use this function in a simulation debugging session started:

Note

This function is available only for simulation debugging sessions started programmatically and for interactive simulation debugging sessions while paused within a time step.

Tips

To start a simulation debugging session interactively, add one or more breakpoints to your model, and in the Breakpoints List, check that Pause within time step is selected. When the simulation pauses on a breakpoint, some of the programmatic debugging commands, such as thestop command, are available for use in the MATLABĀ® Command Window.

Version History

Introduced before R2006a

expand all

When you start a simulation debugging session using the Simulink Editor, you can issue some programmatic simulation debugging commands, such as probe orstop, while the simulation is paused within a time step. Thesldebug command prompt (sldebug>>) now replaces the MATLAB command prompt (>>) to indicate in the MATLAB Command Window when the simulation is paused within a time step. As in prior releases, you can issue both MATLAB commands and the supported simulation debugging commands at thesldebug command prompt.

For more information, see Simulink Debugging Programmatic Interface.