Simulink Debugging Tool
Updated Fri, 25 Mar 2022 09:09:50 +0000
- Helps to add conditional breakpoints for the Simulink debugging purpose.
- Also can be considered as a user interface for "Model Verification" .
- Add the utils and its sub folders into MATLAB path.
- Open the Simulink model that has to be debugged.
- Ensure that Tools/SimBreakpoint menu is present. If not, run the command ">> sl_refresh_customizations" in the MATLAB command window, to refresh the Simulink menus.
- SimBreakpoint tool can be launched from Tools/SimBreakpoint menu or from the model context menu.
- Select the signals and add it to the GUI(Reference Signals Panel). User have to give a unique signal label for every entry.
- Enter the breakpoint condition (Example : Time == 1 || signalA < signalB). signalA and signalB should present in the "Reference Signals" Panel.
- Use "Run" button to initiate the simulation.
- The breakpoint condition will be evaluated during every timestep. If it is true then the simulation will be paused for the user to explore the model.
- Either user can stop the simulation or continue the simulation with the breakpoint condition.
- Optional: User can add a callback function which will be evaluated when the breakpoint scenario happens.
Sysenso Systems (2022). Simulink Debugging Tool (https://github.com/SysensoSystems/SimBreakpointTool), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!