Why does MATLAB 7.6 (R2008a) and newer crash on startup with the error: "Application Failed to Initialize Properly (0xc0000005)"?

8 views (last 30 days)
When starting MATLAB 7.6 (R2008a) or newer on Windows, I get the following error:
ERROR: Application Failed to Initialize Properly (0xc0000005)
MATLAB fails to start thereafter. I would like to know how to fix this issue so I can start MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Oct 2022
Edited: MathWorks Support Team on 14 Oct 2022
Symantec has identified that some features of Endpoint Protection, including "Application & Device Control", can cause MATLAB to crash with this error message.
Please ensure that you are running the latest release of Endpoint Protection (including Fix ID 1389109) to avoid these conflicts.
This error can also occur if MATLAB fails to protect the default address space during startup. By default MATLAB protects the range 0x50000000 to 0x70000000 during MATLAB startup. If another application is in this address space, MATLAB may fail to start properly.
As a workaround, you can disable the MATLAB address shielding. This can be done by starting MATLAB with the following startup flag:
-shield none
To change the startup option for MATLAB from the shortcut to MATLAB, you can perform the following:
1. Right click on the shortcut to MATLAB and select "Properties".
2. Go to the Target field in the shortcut properties
3. Change the value $MATLAB\bin\matlab.exe to add the flag -shield none (with a space before -shield). For example:
"C:\Program Files\MATLAB\R2008a\bin\matlab.exe" -shield none
NOTE: The flag should be outside of any double quotes (")
4. Press OK to save the changes.
You should now be able to start MATLAB. For more information about the MATLAB memory shield, see the MATLAB startup options here:

More Answers (1)

chao wan
chao wan on 13 Dec 2019
我也没有解决

Categories

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

Tags

No tags entered yet.

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!