필터 지우기
필터 지우기

how to read xls file with char value?

조회 수: 21 (최근 30일)
fred bnm
fred bnm 2016년 10월 27일
댓글: Walter Roberson 2016년 10월 27일
after using xlsread function,Only numerical output variable but Character variable can not be read pleas guide me.

채택된 답변

Star Strider
Star Strider 2016년 10월 27일
Use xlsread with at least two outputs:
[num,str] = xlsread(filename);
  댓글 수: 1
Walter Roberson
Walter Roberson 2016년 10월 27일
I have found that pretty much every time that I need strings from a .xls or .xlsx file, that I need to use the third output from xlsread, the "raw" output. -- otherwise it gets too messy to try to figure out which numbers correspond to which strings, in my experience.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by