For stand alone exe, how can I include some external dll files and call them.
3 views (last 30 days)
Show older comments
I have a GUI that works greatly on matlab 2013b. The GUI does some calculations first and then plots results for users to review.
In order to plot those results, I have to call some external dll and lib files (including dll, lib and header files). In my original matlab, i use loadlibrary and calllib to access those external files.
After using deploytool to create an EXE, the calculation part has no problems. I can get the results I want and save them in the folder created.
However, I don't know how I can "package" those dll and lib files into the EXE so that I can use them as the way I use in Matlab.
I tried to use mcc -a ...dll -a....h, -a....lib, but it doesn't work. I also tried to add those files into "Files installed with your application", it doesn't work either.
Anyone can give me some hints here? I really appreciate it!
0 Comments
Answers (0)
See Also
Categories
Find more on Application Deployment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!