Simulink code generation assertion - build fail

24 vues (au cours des 30 derniers jours)
Bhargav Sai
Bhargav Sai le 19 Jan 2026 à 17:07
Réponse apportée : Oliver Jaehrig le 20 Jan 2026 à 15:40
Hi,
I'm trying to build simulink C code and this is the problem:
"Error:Code generation assertion 'parameterMapFromConstantBlock.size() == 1' failed in 'B:\matlab\src\slcg_impl\SLCG\SLCGFixAxisLookupTableHelper.cpp:380'."
Has anyone encountered this kind of error and was able to solve it?
Thanks in advance!

Réponses (1)

Oliver Jaehrig
Oliver Jaehrig il y a environ 10 heures
The root cause of such an assertion is a bug and I believe our Technical Support team needs to investigate this further.
Please create a Technical Support case and if possible share a model which reproduces the error.
Here you can find the webpage to create a case:

Catégories

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

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by