필터 지우기
필터 지우기

How to load GSL library in Simulink for C Caller?

조회 수: 3 (최근 30일)
Vinícius Freitas
Vinícius Freitas 2019년 4월 24일
답변: Mark McBroom 2019년 4월 27일
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.

채택된 답변

Mark McBroom
Mark McBroom 2019년 4월 27일
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개)

카테고리

Help CenterFile Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by