code generate and compile generated code was out of date error
23 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Atharva
2023 年 8 月 10 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Run on Target Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!