Why does code generation fail with Property "pLastTimeStamp" is undefined on some execution paths when using "predictTracksToTime" in Radar Toolbox R2025b?
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Multi-Object Tracking en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!