Clear Filters
Clear Filters

Logging of warnings possible?

12 views (last 30 days)
Till Rahlf
Till Rahlf on 4 Dec 2013
Edited: Wayne King on 4 Dec 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

Answers (1)

Wayne King
Wayne King on 4 Dec 2013
Edited: Wayne King on 4 Dec 2013
Read this blog:
You can also use
dbstop if warning

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!