0
$\begingroup$

Times ago I used the command Off[NDSolve::tag].
Now I've been forgetting which message I removed and I would like to restore it.
Someone knows if is there a way to reset all the default messages ?

$\endgroup$
6
  • $\begingroup$ Does On[NDSolve] work for you? $\endgroup$
    – Somos
    Mar 25 at 14:56
  • $\begingroup$ @Somos I've just tried and on my version 12.1 and it doesn't work. Thanks for the attempt. $\endgroup$ Mar 25 at 22:07
  • $\begingroup$ AFTER evaluation of NDSolve command try to evaluate Messages[NDSolve]. It will list all messages that occured during evaluation. Not printed messages will be wrapped by $Off[ ]. $\endgroup$
    – Acus
    Mar 26 at 7:41
  • $\begingroup$ Much thanks this is what I need $\endgroup$ Mar 26 at 9:24
  • $\begingroup$ @user18792 Post it as an answer? $\endgroup$
    – xzczd
    Mar 28 at 2:09
1
$\begingroup$

AFTER evaluation of NDSolve[ ] command evaluate Messages[NDSolve]. It will list all messages that occurred during evaluation. Suppressed messages are wrapped by head $Off.

$\endgroup$
1
  • $\begingroup$ And On @@@ Keys@Messages@NDSolve will turn them all on, if desired. (It turns on the ones that are already on, too, but it's faster than figuring out how to turn on only the ones that are off.) $\endgroup$
    – Michael E2
    Apr 27 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.