Warning message for debugging/developme​nt

Issues warning that code has been changed temporarily for debugging/development purposes.
Updated 8 Dec 2011

View License

Put a call to dbwarn in your code when you change it temporarily for debugging/development purposes. For example, you change your code to load 'test.mat', rather than reading in a large, raw data file, and you don't want to forget to change it back.

When you run your code, you will be warned that the code has been changed temporarily for debugging/development purposes; the warning includes the name of the m-file that has been changed.

Cite As

Kevin Bartlett (2024). Warning message for debugging/development (https://www.mathworks.com/matlabcentral/fileexchange/34138-warning-message-for-debugging-development), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes