Function 'loadlibrary' is not supported for standalone code generation. Seeking alternative options.
Mostrar comentarios más antiguos
Hi,
I am using loadlibrary() to call some functions from a C++ .dll file so that I can develop my application in MATLAB.
However, when I try to generate standalone code using MATLAB Coder, I get the following error:
>> coder -build CodeApp.prj
??? The function 'loadlibrary' is not supported
for standalone code generation. See the
documentation for coder.extrinsic to learn how
you can use this function in simulation.
It appears that loadlibrary is not supported for code generation. Does anyone know of other ways where I can include the .dll file?
(I could compile my application using MATLAB Compiler, but that would require MCR, which isn't what I need.)
Any help would be very much appreciated.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Call C from MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!