How to turn off Java Error Notifications

1 次查看(过去 30 天)
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 个评论
Matthew
Matthew 2013-7-15
Note that this is being done for debug purposes, so writing a savefunction which automatically filters out the unsavable variables isn't preferable.
Matthew
Matthew 2017-1-12
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 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by