Why do I receive a code generation assertion while generating code with MATLAB Function block?
Show older comments
I have a MATLAB function block which uses global data using Data Store Memory blocks. The model updates and simulates without any error. However, during code generation, it throws the following error:
Code generation assertion 'cg_tag(aVarExpr->var())->ptr != NULL && getCGVarDimSizeVar(aVarExpr->var()) != NULL' failed in 'b:\matlab\src\rtwcg\rtwcg_utils\rtwcg_dataconnector.cpp:479
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!