Logging of warnings possible?

4 次查看(过去 30 天)
Till Rahlf
Till Rahlf 2013-12-4
编辑: Wayne King 2013-12-4
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

回答(1 个)

Wayne King
Wayne King 2013-12-4
编辑:Wayne King 2013-12-4
Read this blog:
You can also use
dbstop if warning

类别

Help CenterFile Exchange 中查找有关 Scope Variables and Generate Names 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by