How to turn off Java Error Notifications

2 views (last 30 days)
Matthew
Matthew on 13 Jul 2013
Commented: Matthew on 12 Jan 2017
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 Comments
Matthew
Matthew on 15 Jul 2013
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 on 12 Jan 2017
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.

Sign in to comment.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!