How can I set portable word sizes for the MATLAB Coder?
Afficher commentaires plus anciens
Hi,
I'm using the MATLAB Coder (not the Simulink Coder) to automatically generate 'C' code from MATLAB algorithims. I'm using the GNU Tools for ARM Embedded Processors compiler, otherwise the ARM Cortex-M code replacement library doesn't work. When I run a SIL simulation, I get the error: "The toolchain for '<my entry function>' is 'GNU Tools for ARM Embedded Processors' and the model option Enable portable word sizes was not selected. This configuration is not supported for SIL simulation"
I've looked how to enable portable word sizes, but all the information is for the Simulink Coder, the MATLAB Coder doesn't have an option to enable portable word sizes. Is there a hidden menu somewhere? Incidentally, although MATLAB Coder is using Embedded Coder settings, the MATLAB Coder still provides many fewer options for settings than the Simulink version.
Many thanks, Dan
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur ARM Cortex-A Processors dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!