How to turn off Java Error Notifications

Summary: Java Error notifications are filling up the matlab diary to the tune of hundreds of megabytes over the course of a long program running.
In a compiled program I'm saving the entire workspace out. Unfortunately, deep in some of the structures being saved out, there are objects which can not be saved correctly, and so java errors are thrown every time the save function is called. This does not disrupt the save function from saving the rest of the data properly, but it does result in error notifications being printed out to the matlab diary for the program.
Is there a way to turn the error notifications off for Java Errors?

2 个评论

Note that this is being done for debug purposes, so writing a savefunction which automatically filters out the unsavable variables isn't preferable.
To anyone searching for answers on this question Yair Altman wrote a piece on this last year. It gives some tips for dealing with the errors, but sadly did not completely solve the issue.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call Java from MATLAB 的更多信息

产品

提问:

2013-7-13

评论:

2017-1-12

Community Treasure Hunt

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

Start Hunting!

Translated by