Logging of warnings possible?

4 visualizaciones (últimos 30 días)
Till Rahlf
Till Rahlf el 4 de Dic. de 2013
Editada: Wayne King el 4 de Dic. de 2013
Hi,
is there a way of getting all warnings, which occur during a run of a matlab function/script/method?
With "lastwarn" I just get the last one (not more).
At the moment I use the diary-function. So I have to parse the text afterwards. That's very uncomfortable...
It would be useful, if there is a direct access to all occurred warnings.
Thanks

Respuestas (1)

Wayne King
Wayne King el 4 de Dic. de 2013
Editada: Wayne King el 4 de Dic. de 2013
Read this blog:
You can also use
dbstop if warning

Categorías

Más información sobre Scope Variables and Generate Names en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by