verbosity

VERBOSITY control the verbosity level of output messages
31 Downloads
Aktualisiert 6. Dez 2018

Lizenz anzeigen

VERBOSITY control the verbosity level of output messages

Set the current verbosity level with e.g.:

verbosity(level)

Get the current verbosity level:

level = verbosity; % return the verbosity level (number)

Output a message when it is allowed by the current verbosity level:

verbosity('normal', 'message')
verbosity('verbose', 'message %g %s', arg1, arg2)
verbosity(2, 'message %g %s', arg1, arg2) % same as 'info'

Verbosity levels:

0 error (no message except errors)
1 warning (important messages not being errors)
2 info (normal messages)
3 verbose (messages for e.g. debugging)

(c) E.Farhi, ILL. License: BSD.

Zitieren als

Emmanuel Farhi (2024). verbosity (https://www.mathworks.com/matlabcentral/fileexchange/69631-verbosity), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert von: Log Output Verbosity Control

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0