Why do I receive an assertion in portmgr.cpp:340:Error: Invalid port index 13 requested when 12 is the max port index for comp
1 次查看(过去 30 天)
显示 更早的评论
When I try to generate HDL code for my model in R2019a, I receive an assertion error below. How do I resolve this error?
Assertion failed: b:\matlab\src\pir_core\base_core\portmgr.cpp:340:Error: Invalid port index 13 requested when 12 is the max port index for comp <Component CtxName="NLMS_loopback_ARM" RefNum="c204" UserName="crp_temp" RTTIClass ="class pir::NetworkInstComp" Network="n3"/>
Thanks a lot in advance.
0 个评论
采纳的回答
Kiran Kintali
2019-9-4
This is not expected and you are run into an internal error.
Can you submit reproduction steps to support@mathworks.com?
thanks
更多回答(2 个)
Kiran Kintali
2019-9-5
Thank you. Great to know you found a reasonable workaround for the issue.
If you can still share the reproduction steps for the original model it would be helpful to continue to improve the software and code generation mechanism for the original scenerio.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!