Clear Filters
Clear Filters

Compiled Matlab Stand Alone app does not find a mex file

6 views (last 30 days)
Hi there,
I have developed a matlab app which uses a set of external functions. In turn, one of these functions uses the Screen function of Pyschtoolbox package. When I use the build in Run of matlab (to test the app) everything works fine. However, when I compile the app and I install it as stand alone, it does not work.
Then, with a try catch, I have printed the error in a text area:
MATLAB:mex:ErrInvalidMEXFile -- Invalid MEX-file 'C:\Users\myusername\AppData\Local\Temp\myusername\mcrCache9.8\myapp0\myapp\Screen.mexw64': Cannot find the specified module.
I have added the Screen.mexw64 to the list of "Files required for your application to run" and, indeed, if I look in the above mentioned path, I am able to find the Screen.mexw64 file.
Have you any solution?
Thanks :)
  3 Comments
youngz
youngz on 31 Jan 2021
Edited: youngz on 31 Jan 2021
There is a way to identify the dependencies of a specific mex function?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler 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!