cdisp

Message display function with verbosity level and log file.

Vous suivez désormais cette soumission

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.

Citation pour cette source

Francois Bouffard (2026). cdisp (https://fr.mathworks.com/matlabcentral/fileexchange/4563-cdisp), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

ONLYFROM and NOTFROM control variables added