cdisp

Message display function with verbosity level and log file.
1.8K Downloads
Updated 19 Mar 2004

View License

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 (2024). cdisp (https://www.mathworks.com/matlabcentral/fileexchange/4563-cdisp), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
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
1.0.0.0

ONLYFROM and NOTFROM control variables added