Why is my compiled application halting during operation?

I have recently upgraded to windows 10. I am trying to compile an application and during compilation, I receive a warning message:
Invalid MEX-File
The specified module could not be found.
However, the application successfully compiles.
When I run the application, it halts during operation and I am not sure why.

 Accepted Answer

A dependency of the compiled application was a .mexw64 file. This file was not being found when running the compiled application.
The original file was compiled in an earlier version of MATLAB. When trying to compile a new application in a different version of MATLAB, the original file cannot be read.
To resolve this issue, the same version of MATLAB must be used for compiling both the application and MEX file.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Release

R2018b

Community Treasure Hunt

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

Start Hunting!