3.2

3.2 | 5 ratings Rate this file 5 Downloads (last 30 days) File Size: 3.76 KB File ID: #15890

Make MATLAB Talk

by Sam Roberts

 

10 Aug 2007 (Updated 25 Sep 2007)

Make MATLAB Talk

| Watch this File

File Information
Description

By interfacing with Windows over ActiveX, and taking advantage of its speech capabilities, you can produce speech from within MATLAB.

MATLAB release MATLAB 7.5 (R2007b)
Other requirements Windows
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
10 Aug 2007 Tom Cunningham

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!

11 Aug 2007 Dimitri Shvorob

:))) Neat!

11 Aug 2007 Elior Shenhav

Wow

13 Aug 2007 Mark Brown

How is this any different than the file (speak.m) posted here in 2004? Both use the ActiveX interface to MS Excel.

14 Aug 2007 Matthew Teow

Well done :)

16 Aug 2007 Uri Maoz

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.

18 Dec 2007 Chang Duan

The error may due to different Voices available in Your Windows system. You can check at
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Speech\Voices\Tokens
For me, its Microsoft Sam. So change this line in say.m will be fine.
else
    voicestr = 'Name=Microsoft Sam';
end

Please login to add a comment or rating.
Updates
25 Sep 2007

A new version of this demo creates speech from using a Windows API call, without going via Excel.

Tag Activity for this File
Tag Applied By Date/Time
talk Sam Roberts 22 Oct 2008 09:22:45
interfacing Sam Roberts 22 Oct 2008 09:22:45
activex Sam Roberts 22 Oct 2008 09:22:45
speech Sam Roberts 22 Oct 2008 09:22:45
utilities Sam Roberts 22 Oct 2008 09:22:45

Contact us at files@mathworks.com