How do I generate code for a Radar Toolbox "radarTracker" object when a uint32‑to‑double type mismatch occurs in Simulink R2025b?
Afficher commentaires plus anciens
I am using Simulink R2025b with Radar Toolbox to generate code for a model that includes a supported “radarTracker” object . When I update the model (which triggers code generation), the update fails with a data type mismatch error.
During model update, I receive the following error:
Error: Unable to write a value of type uint32 into a variable of type double.
Code generation does not support changing types through assignment.
To investigate the cause of the type mismatch, check preceding assignments
or input type specifications.
Function 'GNNTracker.m' (#41.55492.55500), line 1188, column 25:
"trackPDs"
How can I resolve this code generation error?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Measurement-Level Simulations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!