By the way, I'm using this to create an alarm clock using this code here, where I'm replacing the time4 variable with the time tomorrow:
i = 0;
time4 = 5;
for i = 1:1:time4
pause(1);
if i > 4
display('It is time to wake up');
talk('Dev1', 'ao0', 3.5);
pause(1);
talk('Dev1', 'ao0', 0);
end
end