Warning in matlab

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

 채택된 답변

Walter Roberson
Walter Roberson 2012년 5월 21일

1 개 추천

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.

추가 답변 (2개)

Wayne King
Wayne King 2012년 5월 21일

0 개 추천

See the help for intmax
Elsen
Elsen 2012년 5월 21일

0 개 추천

I'm training data with a data length of 512 in the process of ANFIS, but why the warning is always there. As a result, my data can not be processed, thank you, please help me

댓글 수: 1

Jan
Jan 2012년 5월 21일
It would be helpful if you post the complete error message, especially the line which causes the error.
Please insert this by editing the original message, not by creating an answer or comment.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by