I can't import simulink generated shared library to visual studio
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jernej
le 9 Avr 2014
Commenté : Titus Edelhofer
le 10 Avr 2014
Why do I get an errore when I try to add simulink generated shared library to visual studio? I used Shared Library Target (ert_shrlib.tlc) to generate a shared library directly. The error is: Please make sure that the file is accessible, and that it is a valid assembly or COM component.
0 commentaires
Réponse acceptée
Titus Edelhofer
le 9 Avr 2014
Hi,
this sounds like if your Visual Studio Project is a .NET project instead of a C/C++ project ...?
Titus
2 commentaires
Titus Edelhofer
le 10 Avr 2014
Yes, it is. You will need to use the native interface to unmanaged code (google for C# and DllImport).
Titus
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deployment, Integration, and Supported Hardware 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!