How to generate emedded code that doesn't use MATLAB/Simulink libraries?
显示 更早的评论
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?
采纳的回答
更多回答(2 个)
Aravind Singh
2015-3-5
0 个投票
You can generate c code only from simulink. Compile those c code using compiler that generates binary for ARM processor.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!