Why does code generation fail with Property "pLastTimeStamp" is undefined on some execution paths when using "predictTracksToTime" in Radar Toolbox R2025b?
Afficher commentaires plus anciens
When generating code for a model that uses a "radarTracker" object in Radar Toolbox R2025b, code generation fails with the following error:
Property 'pLastTimeStamp' is undefined on some execution paths but is used inside the called function.
For code generation, all variables must be fully defined before use.
This error occurs when calling the "predictTracksToTime" function, even though the model runs correctly in normal simulation.
How can this error be resolved?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Multi-Object Tracking 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!