Error: subscripted assignment dimension mismatch for loop
古いコメントを表示
Hello,
The error I get is : subscripted assignment dimension mismatch at line 40. [line 40 = dataSet(:,1) = str2double(dataArray{1});]
I am trying to loop across a specific number of files in a directory, Everything goes smooth for the first few runs and at random counter values (chopIndex) I get the error. When I did check my workspace, for the iterations where there is no error the size of "dataSet" is 101000x3 double, but post error the size of "dataSet" is 102000x3double.
When I restart and run the code the same issue occurs at a different iteration.
Why does this happen? I'm confused. Please Help.
I have attached my code.
Thank You. SP
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Cluster Analysis and Anomaly Detection についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!