Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

about reading a file

2 Ansichten (letzte 30 Tage)
Niraj Rajput
Niraj Rajput am 8 Feb. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
Jan
Jan am 8 Feb. 2013
"Reading a text into a function" is not well defined.

Antworten (1)

Jan
Jan am 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".

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by