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!