C2000 TI Microcontroller Code Generation isComplian​tArgumentN​ame(argNam​e)

4 vues (au cours des 30 derniers jours)
I am using a C2000 Microcontroller from TI. Can somebody provide assistant with the following issue? Thanks in advance!
I tried to use an IPC Transmit from a C28x CPU to a ARM M4 Cortex. The IPC Receive will only be excecuted in the Function-Call Subsystem if the Hardware-Interrupt is triggered.
Code generation assertion 'isCompliantArgumentName(argName)' failed in 'B:\matlab\src\rtwcg\tlc\BlockFcnEmitter.cpp:760'.

Réponse acceptée

Aiswarya
Aiswarya le 13 Fév 2024
Hi Marcel,
I understand that you are getting a "(isCompliantArgumentName(argName))" code generation assertion message. This assertion can be random, but generally occurs while generating code with S-function blocks inlined using TLC. You can install the MATLAB R2023b Update 4 in which this issue is fixed.
Another workaround for this issue is to remove the following line from the system target TLC file:
"%assign PreCodeGenExecCompliant = 1"
  1 commentaire
Marcel Kley
Marcel Kley le 16 Fév 2024
Thanks for your answer! Installing the latest Release Update fixed the problem.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by