How to generate emedded code that doesn't use MATLAB/Simulink libraries?
Show older comments
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?
Accepted Answer
More Answers (2)
Aravind Singh
on 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
on 5 Mar 2015
0 votes
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!