load a mtalb compiled dll in matlb

Hello, I would like to load a matlab compiled dll in my matlab code. I have tried using a .NET compiled dll (using add assembly) and a C lib compiled dll (using loadlibrary). Any thoughts how I can run a matlab compiled dll inside matlab? Thanks!

 Accepted Answer

You can't, Loading a MATLAB compiled application directly into MATLAB is deliberately prevented.
Quote from loadlibrary limitations section of documentation: "loadlibrary does not support libraries generated by the MATLAB Compiler™ product."

More Answers (0)

Categories

Find more on MATLAB Compiler 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!