MATLAB: Alert sound

alertsound

Hi , i have if condition in my code and i want to produce alert sound in wrong case. can i do that ????

Best Answer

What about
sound(randn(4096, 1), 8192)