Info
This question is closed. Reopen it to edit or answer.
about reading a file
1 view (last 30 days)
Show older comments
I want to read a text file from a location to a function as an argument(such as reading a text into tts(text to speech) function parenthesis) help me with instructions
1 Comment
Answers (1)
Jan
on 8 Feb 2013
This read a text file into a string:
Str = fileread('FileName.txt');
Afterwards you cann call tts(Str) if you have a command called "tts".
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!