How do I resolve the code replacement library error: "incompatible with hardware implementation" when building a TI model?

7 vues (au cours des 30 derniers jours)

I am getting following error message while building the TI 2000: 

Errors issued when validating the selected code replacement libraries (CodeReplacementLibrary) with hardware implementation 'MATLAB Host'.

Caused by: Code replacement library specified in the model: TI C28x is incompatible with the hardware implementation: MATLAB Host. Hardware implementations that are compatible with this library are: Texas Instruments->C2000
How can I resolve this?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 7 Mai 2025
This is expected behavior when the option "ProdEqTarget" (Configuration Parameters > Hardware Implementation > Advanced parameters > Test hardware > Test hardware is the same as production hardware) is set to "off". To allow code generation to proceed, enable this setting.

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by