Function 'loadlibrary' is not supported for standalone code generation. Seeking alternative options.
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Call C from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!