필터 지우기
필터 지우기

How to disable matlab editor search beep when nothing found

조회 수: 18 (최근 30일)
Richard
Richard 2011년 9월 2일
If it makes any difference I'm using matlab 7 for linux
I'm searching many files for a particular word and in general its not in there. When nothing is found then for some inexplicable reason the computer makes a beep. This is internal speaker so I can't just turn the volume down.
I'm in a group office so this beeping will be irritating everyone else. How can I stop matlab doing it
  댓글 수: 1
Walter Roberson
Walter Roberson 2011년 9월 2일
How exactly are you doing the searching?
The only beep I have found in the 2008b Linux preferences is for the command line and has to do with matching brackets
Have you considered using !grep instead of searching the files one by one ?

댓글을 달려면 로그인하십시오.

답변 (3개)

Fangjun Jiang
Fangjun Jiang 2011년 9월 2일
try run 'beep off'. It stops the beep sound afterwards when I type in 'beep'. But it didn't stop the beep sound for 'not found' in Editor on my computer. But I can mute the speaker or plug in a headphone.
I am using MATLAB on Windows. I can go to Control Panel->Sounds and Audio Devices->Sounds and change the 'Sound scheme' from 'Windows default' to 'No sounds'. Then the beep sound from 'not found' in Editor disappeared. So it looks it is depending on the system setting. You might want to see if you can change the system setting on your Linux system.
  댓글 수: 1
Richard
Richard 2011년 9월 2일
I'm afraid that was something I tried even before asking the question, it is the same sound made by the beep command but beep off makes no difference
Unfortunately I don't have the option of an external speaker, its a remotely accessed computer that appears to route the sound through the internal speaker by default, my sound is muted

댓글을 달려면 로그인하십시오.


Daniel Shub
Daniel Shub 2011년 10월 7일
I found this link
https://wiki.archlinux.org/index.php/Disable_PC_Speaker_Beep
which suggests that you can unload the pcspkr module.

Daniel Shub
Daniel Shub 2011년 9월 2일
My MATLAB (r2011a, Linux, 64-bit) does not beep when using search and I do not believe it ever has. Are you sure it is not a setting outside MATLAB? What happens with find in a standalone text editor (i.e., kate or gedit)?
  댓글 수: 6
Fangjun Jiang
Fangjun Jiang 2011년 9월 19일
Put a piece of duct tape on it then!:-)
Daniel Shub
Daniel Shub 2011년 9월 19일
I am still going with disable the internal speaker. Asking the IT person responsible for the computer to disconnect it is gong to be faster than finding what is causing the beep.
Have you tried switching DE (e.g., KDE)? Can you make a new account and see if it happens there also?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by