Why is MATLAB Coder crashing with assertion "Assertion at B:\matlab\​src\cg_ir\​classic\cy​cle_equiv\​CycleEquiv​alence.cpp line 216: In getClass: edge has no entry in CycleEquiv​alence::ge​tClass"

8 vues (au cours des 30 derniers jours)
MATLAB Coder in R2021b crashes during the "Check for Run-Time Issues" stage. In a crash log, I found the following assertion:
Assertion at B:\matlab\src\cg_ir\classic\cycle_equiv\CycleEquivalence.cpp line 216:
In getClass: edge has no entry in CycleEquivalence::getClass
How can I prevent this crash?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 6 Avr 2022
Modifié(e) : MathWorks Support Team le 6 Avr 2022
The crash is caused by a bug in MATLAB Coder App R2021b and R2022a:
A possible workaround is to uncheck the "Collect MATLAB line execution counts" setting.
 

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by