Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
what a sign for this error ?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello guys
does anyone know which part is wrong?
댓글 수: 1
답변 (1개)
Greg
2018년 8월 29일
There's not a lot to go on, but my only guess is you don't have MS Office Excel installed on a Windows machine. Without Excel installed, xlsread operates in 'basic' mode, which does not support the numeric worksheet input. Considering no sheet number input defaults to the first worksheet, simply try:
xlsread(fileread);
댓글 수: 3
Dennis
2018년 8월 30일
Can you elaborate when the error occurs and on which files?
Also xlsread will not work if the file is opened in Excel.
Greg
2018년 8월 30일
편집: Greg
2018년 8월 30일
"Also xlsread will not work if the file is opened in Excel."
I just tested that explicitly this morning and it does in fact work. At least with whatever edition of Excel I have (2013? maybe), and R2017b on Win10.
I also checked having a file with no worksheets, but Excel won't let you do that. Maybe if some other application created a .xls file with no sheets...
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!