![](http://www.mathworks.com/matlabcentral/answers/uploaded_files/955065/40f8cabef4f40380bcb2a2162e87d85b.png)
Why is MATLAB Coder crashing with assertion "Assertion at B:\matlab\src\cg_ir\classic\cycle_equiv\CycleEquivalence.cpp line 216: In getClass: edge has no entry in CycleEquivalence::getClass"
11 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2022 年 4 月 6 日
編集済み: MathWorks Support Team
2022 年 6 月 10 日
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?
採用された回答
MathWorks Support Team
2022 年 4 月 6 日
編集済み: MathWorks Support Team
2022 年 4 月 6 日
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.
![](http://www.mathworks.com/matlabcentral/answers/uploaded_files/955065/40f8cabef4f40380bcb2a2162e87d85b.png)
1 件のコメント
Stefanie Schwarz
2022 年 4 月 11 日
編集済み: MathWorks Support Team
2022 年 6 月 10 日
Hi @Glenn Kubota please contact MathWorks technical support to get assistance for your use-case: https://www.mathworks.com/support/contact_us.html
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!