For stand alone exe, how can I include some external dll files and call them.
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!