Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

about reading a file

2 vues (au cours des 30 derniers jours)
Niraj Rajput
Niraj Rajput le 8 Fév 2013
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaire
Jan
Jan le 8 Fév 2013
"Reading a text into a function" is not well defined.

Réponses (1)

Jan
Jan le 8 Fév 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".

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by