Suppressible Command Window Debug Output

debugout() provides debugging messages that can be suppressed with debugmode(false)

You are now following this Submission

This set of debug commands allows you to add debugging messages and output to your code that can be enabled or suppressed easily. debugout() writes to the Command Window and, if called from inside a function, includes the name of the parent function as bold text before the command message.
Debug output is similar in style to using Matlab's own disp()

Cite As

Nick Counts (2026). Suppressible Command Window Debug Output (https://www.mathworks.com/matlabcentral/fileexchange/60053-suppressible-command-window-debug-output), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Debugging and Improving Code in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Updated documentation, fixed submission typo

1.0.0.0