Info

This question is closed. Reopen it to edit or answer.

Error when compiling a program that depends on MEX and dll files

1 view (last 30 days)
I am trying to compile a MATLAB program that uses several MEX files. I have added all the used files and folders in the deploytool files list. The compilation seems to go fine, however when I try to run the executable I get the following error: mexfilename.mexw32': The specified module could not be found.
I have read that this error can occur when the mexw32 file depends on other dll files and this is also the case here. However I am able to run the program from the MATLAB command window without getting any errors.
Does anyone know a solution to this problem when compiling programs that rely on MEX and dll files?
I am using the matlab 2013a, 32-bit version.

Answers (0)

Community Treasure Hunt

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

Start Hunting!