cdisp
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 (2024). cdisp (https://www.mathworks.com/matlabcentral/fileexchange/4563-cdisp), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | ONLYFROM and NOTFROM control variables added |