Why do I receive the following error when trying to compile a mex file as follows?
>> mex -v arrayProduct.c '-LC:\Foo bar\lib\'
LINK : fatal error LNK1181: cannot open input file 'Files\MATLAB\R2016b\extern\lib\win64\microsoft libmx.lib libmex.lib libmat.lib
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
/out:arrayProduct.mexw64'
Best Answer