How to find "Index exceeds matrix dimensions" error in Simulink
조회 수: 2(최근 30일)
표시 이전 댓글
Ron Bremner 2017년 6월 6일
I am running a Simulink model (MATLAB v. 15), and it gives me an error message (without running), stating "Index exceeds matrix dimensions". It gives me no other information (which model it is occurring in, which variable has an index which is being exceeded, etc.)
Is there a file that states where this is occurring? Is there some other means to determine where this is happening? The model is fairly large, and includes StateFlow control blocks, Matlab blocks, etc.
댓글 수: 0
Don Zheng 2017년 6월 9일
By MATLAB v. 15, I assume you meant R2006a. Can you try the model in a recent release, e.g., R2017a? In the newer version, there might be a more informative error message.
댓글 수: 2
Find more on Model Verification 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!