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

6 views (last 30 days)
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

Answers (2)

Rehan
Rehan on 5 Aug 2017
Edited: Rehan on 5 Aug 2017
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 on 5 Aug 2017
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

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!