Unexpected or internal error encountered in "in CGIR:

15 views (last 30 days)
Issue descripation:
Unexpected or internal error encountered in "in CGIR: b:\matlab\src\sl_compile\rtwgen\ccodergroupmappinginfo_impl.cpp line 696: In getIndividualStateGroupPropertyFromMapping: Assertion failed: aBlk != nullptr && idw >= 0 ". Please report this to MathWorks if you can cause it to recur
Model descripation:
I use the variant model block in my model, When i generate code, It produces this error.
I don't use data store memory related blocks.
TLC: Autosar.tlc
If you meet the same question, pls help me, thank you.

Answers (2)

xingwen xu
xingwen xu on 30 Mar 2021
Maybe I need update version to R2020a-Update5 or new, but the boss don't need this solution,
so, maybe we can try it next time when idle.

wang tongjing
wang tongjing on 11 Nov 2023
Unexpected or internal error encountered in "in CGIR:b:\matlab\src\sl_compile\rtwgen\autosarcodergroupmappinginfo_impl.cpp line 391:In getIndividualStateGroupPropertyFromMapping:Assertion failed:aBlk!=nullptr && idw>=0".没明白,这个问题到底应该怎么解决?

Categories

Find more on Modeling 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!