필터 지우기
필터 지우기

read sentences from an excel file

조회 수: 1 (최근 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 CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by