To end the debugger session without completing the simulation,
enter one of these commands at the
The simulation ends, the debugging session ends, and the MATLAB® command prompt returns.
sedb.quit. However, specifying the
prevents you from inadvertently ending the MATLAB session if
you enter the command at the incorrect command prompt.
The functions in the next table have different behavior and purposes, but any of the functions can cause the debugger session to end.
|Function||Behavior with Respect to Ending the Debugger Session||Primary Usage|
|Ends the debugger session without completing the simulation.||To end the debugger session immediately without spending time on further simulation log entries, plots, or other simulation behavior.|
|Completes the simulation and then ends the debugger session.||To see the simulation log or plots but not enter commands.|
|Ends the debugger session only if the simulation is suspended at the built-in breakpoint at the end of the simulation.||Primarily with breakpoints. For more information, see Use Breakpoints During Debugging.|
|Ends the debugger session only if the simulation is suspended at the built-in breakpoint at the end of the simulation.||Primarily for proceeding step by step through the simulation. For more information, see Step Through the Simulation.|