code generate and compile generated code was out of date error
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am having a sudden error which prevents me from building (Deploying and Starting) a Simulink Model on my arduino, the code generated normally but nothing appears on display block and scope and i got this message "code generate and compile generated code was out of date"
0 comentarios
Respuestas (1)
Atharva
el 10 de Ag. de 2023
Hi Hayat,
The error message you received, "code generate and compile generated code was out of date," suggests that there might be a mismatch between the generated code and the version of the Arduino support package you are using in Simulink. To resolve this issue, you can try the following steps:
1. Update Arduino Support Package: Make sure you have the latest version of the Arduino support package installed in Simulink. You can check for updates and install them if available.
2. Regenerate Code: Try regenerating the code for your Simulink model. This will ensure that the generated code is up to date and matches the version of the support package you are using.
3. Clear Build Artifacts: Delete any previously generated code and build artifacts to ensure a clean build. This will help avoid any conflicts or inconsistencies.
4. Check Compatibility: Verify that the version of Simulink you are using is compatible with the version of the Arduino support package. Check the documentation or release notes for compatibility information.
I hope this helps
0 comentarios
Ver también
Categorías
Más información sobre Setup and Configuration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!