How to generate emedded code that doesn't use MATLAB/Simulink libraries?
Afficher commentaires plus anciens
I have a Simulink model that uses a UDP block. When I compile the generated embedded code in an embedded Linux system I also have to compile HostLib_Network.c. But HostLib_Network.c requires that I have the library libmwnetworkdevice.so. MATLAB has this library, but it is compiled for a 64-bit native Linux desktop environment and I will be running Simulink code on an ARM processor.
So how can I get Simulink to generate embedded code that doesn't rely on native environment libraries?
Réponse acceptée
Plus de réponses (2)
Aravind Singh
le 5 Mar 2015
0 votes
You can generate c code only from simulink. Compile those c code using compiler that generates binary for ARM processor.
Josh
le 5 Mar 2015
0 votes
Catégories
En savoir plus sur Simulink Coder 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!