How to call a .dll in the code generation process of C S-Function
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
jianshen li
le 26 Fév 2021
Commenté : jianshen li
le 1 Mar 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 commentaires
Réponse acceptée
Diego Kuratli
le 1 Mar 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Target Computer Setup dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!