フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

about reading a file

2 ビュー (過去 30 日間)
Niraj Rajput
Niraj Rajput 2013 年 2 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Jan
Jan 2013 年 2 月 8 日
"Reading a text into a function" is not well defined.

回答 (1 件)

Jan
Jan 2013 年 2 月 8 日
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".

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by