Warning in matlab
9 views (last 30 days)
Show older comments
Sorry, I want to ask about the warning 'Warning: FOR loop index is too large. Truncating to 2147483647 'in matlab R2009a 32Bit? what it means
0 Comments
Accepted Answer
Walter Roberson
on 21 May 2012
What the error means is that you have a "for" loop in which you are trying to do more than 2147483647 iterations. Your R2009a 32 bit MATLAB has a limitation that it is unable to do more than 2147483647 iterations in a single "for" loop.
You can possibly break the code up so that it only does 2147483647 iterations in any one loop.
If the problem is inside an ANFIS routine, then there is a possibility that you have made a programming mistake in your call. You should also be considering whether you should be training on the principle components (PCA) of the data rather than the entire 512 columns.
0 Comments
See Also
Categories
Find more on Fuzzy Logic Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!