MATLAB: Do I get an error when I start Simulink on MATLAB 7.1 (R14SP3) Automation Server

MATLABsimulink

I am starting MATLAB as an Automation server by executing the following command at the DOS prompt.
matlab /automation
In the MATLAB command prompt I started Simulink by executing the following command from the $MATLABROOT/bin/win32 directory where $MATLABROOT is the MATLAB root directory.
simulink
I get the following error:
Warning: Function simulink.dll has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Mex file entry point is missing. Please check the (case-sensitive)
spelling of mexFunction (for C MEX-files), or the (case-insensitive)
spelling of MEXFUNCTION (for FORTRAN MEX-files).
??? Invalid MEX-file 'D:\Applications\MATLAB71\bin\win32\simulink.dll': The specified module could not be found.

Best Answer

The error occurs due to the simulink.dll file present in the $MATLABROOT/bin/win32 directory shadowing the built-in Simulink executable (where $MATLABROOT is the MATLAB root directory which can be obtained by executing the following command
matlabroot
at the MATLAB command prompt.)
This behavior can also be observed in regular MATLAB sessions. To work around this issue, execute the command
simulink
from a different directory.