This occurs if you have tried to add the wrong .XLA file from the MATLAB installation files; specifically the mlfunction.xla file.
The correct file is located in this folder:
$MATLABROOT$\toolbox\exlink
where $MATLABROOT$ is the installation location for MATLAB.