C:\PROGRA~​1\MATLAB\R​2012A\BIN\​MEX.PL: Error: 'resize.cc' not found.

3 次查看(过去 30 天)
hey when i run code then it saws errors like:
compile
C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: 'resize.cc' not found.
Error using mex (line 206) Unable to complete successfully.
Error in compile (line 1) mex -O resize.cc

回答(2 个)

Rehan
Rehan 2017-8-5
编辑:Rehan 2017-8-5
hi
this syntax is for mac or linux, but if you are running this code on windows. use full path like this mex C:\Users\....\resize.cc
if you have any issue you can ask. i hope it helped.

Jan
Jan 2017-8-5
Either provide the full path name:
mex -O D:\MFiles\YouSubFolder\resize.cc
or set the current folder accordingly:
cd D:\MFiles\YouSubFolder\
mex -O resize.cc

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by