Index in position 2 exceeds array bounds.
이전 댓글 표시
I am getting this error for following code to export the the data from graph.

댓글 수: 7
KSSV
2022년 12월 4일
Check the size of the variable num.
whos num
It seems, num is only a array with once column.
Venkata
2022년 12월 4일
Venkata
2022년 12월 4일
Venkata
2022년 12월 4일
Dyuman Joshi
2022년 12월 4일
The variable num is empty, as it shows in its size. You can't access any elements from it.
Check if the excel file is empty or not. What are the contents of the excel file?
Venkata
2022년 12월 4일
Jan
2022년 12월 4일
Well, yes, of course you should use an Excel file with values.
답변 (0개)
카테고리
도움말 센터 및 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!