On my PC, any error in the code (either while running a script or in the Command Window) will produce an error message, but no "beep" sound. Notice that MATLAB can correctly output sounds (as verified with the soundsc function, for instance). The beep function does not work either, even with beep on. I have already tried closing and relaunching the computer. I am running MATLAB R2020a on a Windows 10 PC.
Is there any way I can get the error sound back? I prefer it that way.
Thanks in advance to anyone who can help!