Effacer les filtres
Effacer les filtres

How to turn off Java Error Notifications

1 vue (au cours des 30 derniers jours)
Matthew
Matthew le 13 Juil 2013
Commenté : Matthew le 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 commentaires
Matthew
Matthew le 15 Juil 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 le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by