Warning message for debugging/development
Version 1.0.0.0 (1.45 KB) by
Kevin Bartlett
Issues warning that code has been changed temporarily for debugging/development purposes.
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 (2026). Warning message for debugging/development (https://uk.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 LinuxCategories
- MATLAB > Programming > Functions > Scope Variables and Generate Names >
- MATLAB > Software Development Tools > Debugging and Analysis >
Find more on Scope Variables and Generate Names in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
