Main Content

quit

End simulation debugging session

Syntax

Description

quit ends a simulation debugging session.

Note

This function is supported only for simulation debugging sessions started programmatically using the sldebug function or using the sim function with the 'debug' name-value argument.

example

Examples

collapse all

Use the sldebug function to start a simulation debugging session for the model vdp. Then, use the quit function to end the simulation debugging session.

Open the model vdp.

openExample("simulink_general/VanDerPolOscillatorExample",...
    supportingFile="vdp.slx");

Start a simulation debugging session using the sldebug function. The MATLAB® command prompt (>>) becomes the Simulink® debugger prompt ((sldebug @0): >> ).

sldebug vdp
(sldebug @0): >> 

Use the quit function to end the simulation debugging session.

quit

Version History

Introduced before R2006a