Why does MATLAB crash on startup with the error: "Application Failed to Initialize Properly (0xc0150002)"?

10 views (last 30 days)
When starting MATLAB on Windows, I get the following error:
ERROR: Application Failed to Initialize Properly (0xc0150002)
MATLAB fails to start there after.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 13 Jun 2021
Edited: MathWorks Support Team on 16 Jul 2021
This error indicates that you are missing the required Visual Studio 2005 runtime libraries for MATLAB. This is an issue that has been seen when running MATLAB from a non-local installation.
To resolve this error, make sure you are launching MATLAB using the 'matlab.bat' file from the $MATLABROOT\bin folder rather than the 'matlab.exe' file from $MATLABROOT\bin\win32 or $MATLABROOT\bin\win64
where $MATLABROOT is the MATLAB root directory on your machine, as returned by typing
matlabroot
at the MATLAB Command Prompt.
If you have created any shortcuts to MATLAB, re-map all of your MATLAB shortcuts to point to matlab.bat.
If the matlab.bat file does not allow you to start MATLAB, try manually executing the following file:
$MATLABROOT\bin\win32\vcredist_x86.exe
($MATLABROOT\bin\win64\vcredist_x64.exe for 64 bit Windows)
NOTE: The file must be run with Administrator rights, or the installation will not proceed.
This will install the missing libraries manually. After installation, you should be able to start MATLAB manually.
If you encounter an error during the execution of the vcredist_x**.exe file, your Windows Installer libraries may be out of date. Windows Installer 3.1 (v2) is required for the Visual Studio 2005 run-time library installation to complete successfully and is available from Microsoft's Web site at:
Alternatively, you can use Windows Update by running Internet Explorer and selecting Windows Update from the Tools menu. If you follow the instructions, the application will walk you through whatever you need to update your PC (and the Windows Installer will be made up-to-date).
You can find more information about the Microsoft Windows Installer at:
Once you have updated the Windows Installer, run the vcredist_x**.exe file again. The libraries should install at this point. Afterwards MATLAB should start.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2006b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!