Darin_dbtools 2015-01-05.zip
By adding calls at initialization (to break_place_button) and in major loops (to break_place) you can allow your code to free run, then manually interrupt into the debugger by pressing an on-screen button, then continue at will.
Other routines allow adding display (dbdisp), operating statements (dbassign), and assignments (dbcall) into conditional breakpoints so that, in effect, you can modify running code without a quit and restart.
Examples and explanation are provided.
Cite As
Darin (2024). Darin_dbtools 2015-01-05.zip (https://www.mathworks.com/matlabcentral/fileexchange/46604-darin_dbtools-2015-01-05-zip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: breakpoint_command
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.