MATLAB: Does MATLAB 7.11 (R2010b) start with FatalException and not function

MATLAB

I installed R2010b, but on startup I get the following error:
MATLAB:dispatcher:loadLibrary Library integrity check fails for 'C:\Program Files\MATLAB\R2010b\bin\win32\libmwbuiltins.dll': , library built Mon Jul 12 22:47:33 2010
, registry built Fri May 21 17:56:21 2010
.
Caught MathWorks::System::FatalException
Caught MathWorks::System::FatalException
MATLAB allows me to run commands, but returns "undefined function or variable" for any command.

Best Answer

This issue is caused by having a mixture of R2010b and R2010b prerelease files in the same installation of MATLAB. This issue is generally caused by running the R2010b installer in a directory with downloaded files for the R2010b prerelease. This can also occur if the R2010b Prerelease was not completely removed before installing the R2010b release.
To resolve this issue, you will need to completely remove the R2010b Prerelease:
1. Uninstall MATLAB. You can do the from your Control Panel under Programs (Add/Remove Programs for Windows XP).
2. Delete the folder MATLAB was installed into. By default this is the R2010b folder found in C:\Program Files\MATLAB.
3. Completely remove any downloaded files redownload the R2010b installation files into a an empty or new directory.