By interfacing with Windows over ActiveX, and taking advantage of its speech capabilities, you can produce speech from within MATLAB.
Sam Roberts (2021). Make MATLAB Talk (https://www.mathworks.com/matlabcentral/fileexchange/15890-make-matlab-talk), MATLAB Central File Exchange. Retrieved .
The error may due to different Voices available in Your Windows system. You can check at
For me, its Microsoft Sam. So change this line in say.m will be fine.
voicestr = 'Name=Microsoft Sam';
Came back with the error:
Error: Object returned error code: 0x800A03EC
Error in ==> say at 7
cell.Speak; % Amazing!
This is even though I have Excel installed.
Well done :)
How is this any different than the file (speak.m) posted here in 2004? Both use the ActiveX interface to MS Excel.
I'm tied up right now, but if this works, I'm gonna have a riot with an inter-office application I'm writing for vibration data post processing! My errordlg messages already insult you for making mistakes!
Thanks in advance!
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!