Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

about reading a file

1 visualización (últimos 30 días)
Niraj Rajput
Niraj Rajput el 8 de Feb. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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 comentario
Jan
Jan el 8 de Feb. de 2013
"Reading a text into a function" is not well defined.

Respuestas (1)

Jan
Jan el 8 de Feb. de 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".

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by