Error using mex (line 206) Unable to complete successfully.

when i try to run compile_gc from matlab wrapper for graph cuts i am getting the following error.. >>compile_gc C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: 'GraphCutMex.cpp' not found.
Error using mex (line 206) Unable to complete successfully.
Error in compile_gc (line 28) eval(cmd);
have installed Microsoft Windows SDK 7.1... i am able to run >>mex -setup successfully.. after that if i run compile_gc am getting that error.. please help me to sort out the problem.

回答(1 个)

Usually the file-not-found error is because the 'GraphCutMex.cpp' file is not in the current default directory. E.g., can you see the file if you issue a 'dir' command at the MATLAB prompt?

类别

在 帮助中心 和 File Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by