Error: subscripted assignment dimension mismatch for loop
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Cluster Analysis and Anomaly Detection en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!