how to control program output in the way warning() does

I like the design of warning() and tried to use it to control my program output. However it shows "warning" all the time, which is not what I want.
Some other designs use verbose level parameter to control what information should be printed out. However, that approach seems tedious.
What do you use to control your program output messages?

Respuestas (1)

La pregunta está cerrada.

Productos

Etiquetas

Preguntada:

el 20 de Feb. de 2011

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by