Why do I get the error message "Error: File "########" not found." when using the MATLAB add-in for Visual Studio?
When using the MATLAB add-in for Visual Studio the following error message pops up in a Microsoft Visual C++ error dialog box:
Error: MCC returned error code 1.
The following information is contained in the mcc-log.txt file:
This is the output from running MATLAB Add-in. Please close this window after viewing it. --------------MCC/MEX BEGIN--------------- mcc -k "D:\MATLAB6P1\WORK\MLCOMPILER\deleteplease9\mcc.mak"-/n -B sgl -A line:on -g libmmfile.mlib libmwsglm.mlib -vh "D:\MATLAB6p1\work\TestFun.m" Compiler version: 2.1 Warning: (PM): Directory access failure: D:\Applications\Microsoft. Warning: (PM): Directory access failure: Studio. Error: File "Visual" not found. --------------MCC/MEX DONE----------------
Best Answer