I have this error Index in position 1 exceeds array bounds.
2 ビュー (過去 30 日間)
古いコメントを表示
I have a script, when I run it, I have the eabove error:
Index in position 1 exceeds array bounds.
Error in BEM (line 245)
angle=foilarray{airfoil,1}(aoacounter,1);
(Line 245 is this one) ----> angle=foilarray{airfoil,1}(aoacounter,1);
I read solution regarding this topic but no answer was helpful
6 件のコメント
Walter Roberson
2022 年 8 月 25 日
We do not have your input files, and we do not know what parameters you are calling the function with.
採用された回答
Walter Roberson
2022 年 8 月 25 日
Every one of your .dat files have text headers on them, but in every case you are using textscan() with %f format and no Headerlines
For those files, you should be using
'HeaderLines', 53
4 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!