
Why do I receive a "not enough information to determine output sizes" error while compiling a model with a MATLAB Function block in R2024a?
5 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2024 年 5 月 23 日
回答済み: MathWorks Support Team
2024 年 6 月 20 日
I am getting error messages like the following when compiling a model with a MATLAB Function block:
Simulink does not have enough information to determine output sizes for this block.
Chart expects data 'y' to have size '[1 65536]', but the propagated size is '[1 16]'. Fully specify all inherited properties of your inputs and outputs.
Why am I receiving this error and how can I fix this?
採用された回答
MathWorks Support Team
2024 年 5 月 23 日
The error messages occurs when Simulink cannot determine an output's size at model compile time. Our development team is aware that there are scenarios where these dimensions could be determined at model compile time, yet Simulink struggles to do so. Enhancements to dimension analysis are on the roadmap for upcoming MATLAB releases to address this issue.
In the meantime, a workaround is to explicitly specify the output sizes as demonstrated below:

0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!