- The exact command you are typing in MATLAB.
- The specific version of Windows, MATLAB, and Office you are running.
When use 'xlsread' , error 'Eror using Interface.Microsoft_excel_12.0_Object_Library._WorkSheet/set' ,please help!
조회 수: 1 (최근 30일)
이전 댓글 표시
The error as follows: Error using Interface.Microsoft_excel_12.0_Object_Library._WorkSheet/set
Invoke Error, Dispatch Exception:
Source:Microsoft Office Excel
Description:不能设置类Worksheet的Visible属性
Help File :C:\Program Files\microsoft office\office12\2052\Xlmain11.chm
Help Comtext ID:0
Error in xlsreadCOM>activate_sheet(line 88)
set(TargetSheet,'Visible','xlsheetvisible');
Error in xlsreadCOM(line 36)
actuvate_sheet(Excel,sheet);
There is Encrypting File System in my computer,I do not know whether it affects. Thank you !
댓글 수: 0
채택된 답변
Ken Atwell
2013년 1월 18일
Do the names of any of the sheets in the file you are trying to read contain any non-ASCII characters, such as Chinese characters? If so, try renaming those sheets to contain only 7-bit ASCII characters. This is an acknowledged limitation in MATLAB in today.
If that does not help, can you provide more information:
댓글 수: 0
추가 답변 (1개)
Image Analyst
2013년 1월 18일
Do you have Excel installed on your computer? I'd guess that you don't. Or you have only the Excel "Starter" edition.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!