Why do I receive a code generation assertion while generating code with MATLAB Function block?
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!