How to load GSL library in Simulink for C Caller?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Vinícius Freitas
am 24 Apr. 2019
Beantwortet: Mark McBroom
am 27 Apr. 2019
I want to load in the Simulink C Caller block some functions that use the GSL library. How can I integrate this compiled library with C caller?
I could use the C caller with .c and .h but I don't know how to use with compile libraries like GSL (.lib .dll) Windows or (.a .so) Linux. I use Windows.
0 Kommentare
Akzeptierte Antwort
Mark McBroom
am 27 Apr. 2019
You should be able to do this by adding the name of your library to the "Libraries" tab of the Additional Build information dialog in Custom Code. I believe you will need to specify the full path to the library, similar to the syntax used in the link for specifying custom C code.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Call C++ from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!