Why do I get the error "subscript out of range" when I am trying to export data to MATLAB using Excel Link?
조회 수: 3 (최근 30일)
이전 댓글 표시
I am trying to export data to MATLAB from Excel with the Excel Link Toolbox and receive the following error message:
subscript out of range error.
채택된 답변
MathWorks Support Team
2009년 6월 27일
You will receive this error message if you attempt to export a variable with the same name as a MATLAB function. For instance, if you attempt to export a variable called "try", you will receive this error message because this name coincides with the TRY function in MATLAB.
To work around this issue, use a different name that is not a MATLAB-reserved function name.
댓글 수: 0
추가 답변 (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!