How to call a .dll in the code generation process of C S-Function
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
jianshen li
el 26 de Feb. de 2021
Comentada: jianshen li
el 1 de Mzo. de 2021
When I use Simulink real-time and build model, my C sfunction needs to call a .dll file.
How to call it correctly?
0 comentarios
Respuesta aceptada
Diego Kuratli
el 1 de Mzo. de 2021
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Target Computer Setup en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!