How to call a .dll in the code generation process of C S-Function
2 次查看(过去 30 天)
显示 更早的评论
When I use Simulink real-time and build model, my C sfunction needs to call a .dll file.
How to call it correctly?
0 个评论
采纳的回答
Diego Kuratli
2021-3-1
It is not possible to call DLL libraries with Simulink Real-Time.
R2020a and older releases: dynamic libraries are not supported
R2020b and newer: the new RTOS is POSIX compliant, dynamic libraries can be integrated as .SO files (DLLs are Windows-based files and are not supported). The .SO file has to be on the target computer drive.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!