Is there a way to suppress this error message and beep?

  • 1
    $\begingroup$ Take a look atQuiet. $\endgroup$ Sep 11 at 21:59
  • $\begingroup$ Turn the message Off: Off[Integrate::idiv] $\endgroup$
    – Bob Hanlon
    Sep 12 at 4:00

It might be better to suppress the specific message, and let others pass.

enter image description here


ClearAll[x, a]
CurrentValue[$FrontEnd, {"PrintAction"}] = {"PrintToNotebook"};
CurrentValue[$FrontEnd, {"MessageOptions","KernelMessageAction"}] = {"PrintToNotebook", "Beep"};

And now

Quiet[Integrate[(ArcTan[a*x] - ArcTan[b*x])/x, {x, 0,Infinity}], {Integrate::idiv}]

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.