Simulink, model returning an error (on compilation) but give's no indication of the signal/parameter concerned
6 ビュー (過去 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!