This beeping beep is absolutely maddening. It's an admittedly petty gripe, but I make heavy use of arrowing up and down through the command history, so I get beeped at quite a lot and it's ruining my life.
After some frustrated googling, it seems this has been asked often over the years but has never been completely answered. I'm leaning towards the infernal beep being some perverse inside joke at The MathWorks, but perhaps the community can set me straight.
Here's my roundup:
- "beep off", formerly known as "system_dependent(14,0)", turns off the beep for errors, but does not universally disable the beep (e.g. mismatched delimiters or scrolling to the bottom of the command history still produce a beep).
- Mismatched delimiter beeps can be specifically turned off or changed to strikethrough in Preferences > Keyboard > Delimiter Matching.
- The beep can be brute force disabled by turning off the default tone in the OS sound settings (e.g. in Windows, set "Default Beep" to "None" in Control Panel > Sound > Sounds).
I'm hoping I just missed the easy answer in my searching. Else #3 seems to be the only recourse, but this will also turn off the default beep for any programs or services that might legitimately need to alert you, as opposed to just needing to irritate you and everyone in earshot. In fact, I make good use of the "beep" command in lengthy scripts to let me know when they finish while I work on something else. Very handy! But guess which command no longer works if you turn off the system beep at the OS level? [File Exchange (search tag:"beep") has some nice alternatives, but still.]
What the beep, Mathworks?