MATLAB: Alarm for finishing running of a program

alarm

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,

Best Answer

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)