I would like to find a solution for the following error message:
error using 'mex', unable to complete successfully
Sometimes when I run
mex -setup
and select Lcc as the C compiler, the programs quits saying that lcc is not "within the matlab directory". Lcc is under \matlab\sys\lcc . I checked the mex.m and mex.bat files. They seem to be looking at the correct directory but the program exits with the above mentioned error message.
Best Answer