How to fix this Targetlink error during code generation

30 vues (au cours des 30 derniers jours)
Basim
Basim le 19 Juin 2024
Réponse apportée : R le 25 Juin 2024
Error #90113:
Internal error. Could not get compiled data. See message below: Assertion failed.
This error only appears when using the targetlink 23.1p2 version with MATLAB 2023b. If I run the code generation for the same simulink model on MATLAB 2021b with targetlink 5.2, it works is able to generate the code. However, I need to update the MATLAB and targetlink version to remain up-to-date.

Réponses (1)

R
R le 25 Juin 2024
Hi @Basim,
It is likely an update issue. Initially, TargetLink 2023-B (23.1) did not support MATLAB® R2023a and R2023b releases. Support was added only through subsequent patches. The recommended approach is to update both MATLAB and TargetLink to their latest patches, service packs, and updates, as indicated by dSPACE's compatibility guidelines.
To further isolate the issue, attempt to generate the code using grt.tlc. If this is successful, it is likely a problem on the TargetLink side. In such a case, consider reaching out to dSPACE Technical Support at TargetLink Support Central - dSPACE

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by