mex file in executable generated by mcc ---> Not found

1 回表示 (過去 30 日間)
Alvaro
Alvaro 2017 年 2 月 6 日
コメント済み: Alvaro 2017 年 2 月 6 日
Hello,
I run Matlab in GUI everything is working very well.
The code contains the sift descriptor and matcher from http://www.vlfeat.org/install-matlab.html. As i said it works very well in script mode.
The code contains :
if(~isdeployed)
addpath( pwd ) ;
addpath('SIFT');
addpath('SIFT\vlfeat\toolbox\mex\mexw64');
addpath(genpath('matchSIFT'));
Now, i generate the executable with the command mcc -m MyProg.m
At the execution in a dos window I have the error :
Invalid MEX-file 'C:\Users\xxxxx\AppData\Local\Temp\xxxxx\mcrCache9.0.1\xxxx\matchSIFT\vlfeat\toolbox\mex\mexw64\vl_sift.mexw64': Le module spécifié est introuvable. "the module can not be found'.
The error appear on R2016a or R2016b. Windows 10 / 64 bits
What should i do to correct this problem ? Thank you

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 2 月 6 日
You could get that error if vl_sift.mexw64 depends upon a DLL which is not included in the package and not installed on the user's system.
  1 件のコメント
Alvaro
Alvaro 2017 年 2 月 6 日
excellent...it works indeed i copied a dll file. Thank you Walter we have the same solution...but there is one more issue...i will open soon

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by