alarm for finishing running of a program
조회 수: 175 (최근 30일)
이전 댓글 표시
Hi all
I've written a program and it's so time-consuming. I want to write a command for the programe that alarm me the program runnning has been finished.
How can I do it?
thanks,
댓글 수: 1
avss matlb
2018년 5월 2일
I am currently working on a fire detection project after detecting fire it sends mail but my video player or webcam stop working.Please, can anybody know how to solve this problem?
채택된 답변
John D'Errico
2015년 3월 2일
Way too late for an answer here, but my solution for really long running codes was to add this to the end of my long running codes.
load handel
sound(y,Fs)
댓글 수: 12
추가 답변 (3개)
Dr. Seis
2012년 1월 28일
A simple way I use to get notified that processing had finished was to add a "beep" to the end of the program (I was usually in the other room watching TV, so it worked for me). Just bear in mind that the beep will either mean your code has finished =) or your code stopped with an error =(.
Edit
At the command line, type:
beep
If you do not hear a sound, type:
beep on
Then test to see if beep works by typing "beep" one more time. If that doesn't work, then make sure your speakers are on loud enough that you can hear it.
댓글 수: 4
Dr. Seis
2012년 1월 30일
"beep on" simply turns on the beep functionality (if it was off). Just in case you have beep turned off elsewhere, your last line should be:
beep on; beep;
Jason Ross
2012년 1월 27일
편집: John Kelly
2015년 3월 2일
You could create a function that plays the audio and call it at the end
Or you could have it send you an email at the end of processing:
If you search in the File Exchange for "Alarm" there are other implementations that throw up dialogs, etc.
댓글 수: 0
Rutika Titre
2015년 10월 29일
can anyone help to to get a sound of beep after detecting my face in camera. I have extracted all features my features are recognized I just want a beep sound as the face is detected how can i do that...plz any kind of help will be appreaciated...Thank you
댓글 수: 2
Rutika Titre
2015년 11월 5일
Thank You Sir.I got its solution. I had taken .wav file and I got the beep sound. Thank you Sir for your help.
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!