Debug Simulations Programmatically
The Simulink® debugging programmatic interface provides debugging options in the MATLAB Command Window that are similar to those available in the Simulink Editor. In addition, you can use the programmatic interface to:
Step through model execution one block method at a time.
Set breakpoints on block methods.
Set additional model breakpoints, such as the solver reset breakpoint.
Display additional information about the model, including a list of nonvirtual subsystems.
The functions for controlling data display and model execution in a simulation debugging session are available only after you start the debugging session.
Functions
Topics
- Simulink Debugging Programmatic Interface
Learn the basics of the Simulink debugging programmatic interface.