You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Function cdisp is intended as an alternative to disp. It can be used to display messages in the command window and log messages in a log file, according to a verbosity level.
An importance level can be set for each message, and display or logging of the message is performed only if the value of global variables "VERBOSE" and "LOGVERBOSE" are higher or equal to the message importance level.
The log file can be specified, as well as an identification string, which is displayed before the actual message in a 16-character-wide margin.
Two other global variables, ONLYFROM and NOTFROM, can be used to display messages with specific idstrings.
Cite As
Francois Bouffard (2026). cdisp (https://au.mathworks.com/matlabcentral/fileexchange/4563-cdisp), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (2.27 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | ONLYFROM and NOTFROM control variables added |
