How Create my extern "C" for C++ and Matlab
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Eduardo Cruz Urioso
el 16 de Jun. de 2020
Editada: Eduardo Cruz Urioso
el 16 de Jun. de 2020
Hi, I trying use a C++ dll in my matlab code, the information says I need an external C for use it, but I can not figure out how.
if libisloaded('libjpeg')==false
addpath(fullfile(matlabroot,'wwp-data-sdk','lib-win'))
addpath(fullfile(matlabroot,'wwp-data-sdk','headers'))
addpath(fullfile(matlabroot,'wwp-data-sdk','headers','services'))
addpath(fullfile(matlabroot,'wwp-data-sdk'))
end
loadlibrary('wwp-data-sdk.dll','center', 'alias','lib')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317067/image.jpeg)
I saw the links:
https://es.mathworks.com/matlabcentral/answers/45337-connecting-matlab-to-c-language-dll https://es.mathworks.com/matlabcentral/answers/56220-call-c-class-from-matlabhttps://es.mathworks.com/help/matlab/ref/loadlibrary.html
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre C Shared Library Integration 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!