How to generate emedded code that doesn't use MATLAB/Simulink libraries?
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (2)
Aravind Singh
el 5 de Mzo. de 2015
0 votos
You can generate c code only from simulink. Compile those c code using compiler that generates binary for ARM processor.
Josh
el 5 de Mzo. de 2015
0 votos
Categorías
Más información sobre Simulink Coder en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!