MATLAB Answers

I need help with Application compiler

3 views (last 30 days)
Viet Duc
Viet Duc on 16 Sep 2021
Answered: Image Analyst on 17 Sep 2021
Hello everyone
I am trying to build Standalone App from Matlab as shown in the figure. When I run my code, it is ok.
However, it had some problems after I used Application Compiler to build a standalone app.
The app couldn't open and this message appeared: "The specified module could not be found"
I don't know how to solve this problem.
I think this happens with the path that I try to load the .dll library.
Could you please help me to solve this problem?
Thanks very much
Viet Duc
Viet Duc on 17 Sep 2021
I have already removed cd() and made the library directory to the source code. However, it's still not open. This message still appear: "The specified module could not be found"

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 17 Sep 2021
If you shipped your library and had the user put it into some specific folder, then specify that folder fully, from the drive letter. Or else you're going to have to figure out from the relative path, which is not easy or trivial since the executable is not where you think it is (long story).

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by