read sentences from an excel file

3 ビュー (過去 30 日間)
Ahmed BOULMANE
Ahmed BOULMANE 2015 年 7 月 13 日
編集済み: Ahmed BOULMANE 2015 年 7 月 15 日
Please, I have an excel file that contains some sentences that I have to get to use them in a script, and I want to know the Matlab command that I should use to do that,

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 7 月 13 日
Use xlsread
  3 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2015 年 7 月 13 日
No, it's not true
[num,str]=xlsread(yourfile)
Ahmed BOULMANE
Ahmed BOULMANE 2015 年 7 月 15 日
編集済み: Ahmed BOULMANE 2015 年 7 月 15 日
hello! i used the function xlsread to do that: "[num,txt]=xlsread(nameoffile,'C:C')" then txt(indice,1)='xxxxxxxxxxxxx' so, when i do that: FileName =txt(indice,1) ==> the result is : FileName= 'xxxxxxxxxxxx' but me, i want to do that: FileName='xxxxxxxxxxxx' ==> FileName=xxxxxxxxxxxx in order to use FileName in my script

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by