Simulink, model returning an error (on compilation) but give's no indication of the signal/parameter concerned
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, I have a real problem, which I do not know how to solve.
An error is signalled when compiling my simulink model
"Simulink supports signal and parameter dimension size up to 2147483647, which is the maximum allowable 32-bit signed integer value. Consider reducing the signal or parameter size before compiling or simulating the model."
Unfortunatly that is all that is generated. With no indication of the parameter or the block causing the issue. Diagnostic viewer basically presents the same error.
To further investigate a ran model advisor on "Check bus signals treated as vectors". This signalled the same error, however again nothing was returned giving an indication as to the source of the problem
I have even been through the hundreds of bus signals in the simulink bus manager trying to locate any signal which may meet the significant dimansion size as outlined in the error message - but there is nothing untoward as i can see.
So basically I have an error, but have no means by which to locate the source.
Is there any hint and tips from simulink guru's which could help me trace the source
댓글 수: 0
답변 (1개)
Aditya Srikar
2023년 5월 25일
It is very likely that the error message is caused by a large block parameter, signal or bus object in your model that has exceeded the maximum supported size by Simulink.
These are a few steps you can take to narrow down the problem:
1. Check the sizes of all signals and parameters in your model
2. Check the sizes and properties of all bus objects in your model
3. Disable subsystems or blocks one by one to narrow down the part of the model causing the issue.
4. Increase the verbosity of the Diagnostic Viewer to gain more detailed information about the error, by setting the diagnostic level to "Maximum". You can do this by selecting "Display > Diagnostic Viewer" from the Simulink menu, right-clicking on the diagnostic viewer window, and choosing "Diagnostic Level > Maximum".
Hope it helps
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Configure and View Diagnostics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!