Why do I receive Error 5200 - Unable to access services required to run MATLAB?

27 views (last 30 days)
When I try launch to MATLAB, I get the following error:
Unable to access services required to run MATLAB (error 5200).
How do I resolve this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Dec 2025 at 0:00
Edited: MathWorks Support Team on 16 Dec 2025 at 23:03
This error indicates that MATLAB has encountered a licensing issue. To resolve this error, try these possible solutions: 
Restart MATLAB 
If MATLAB is running, shut it down and restart it to see if that resolves the issue. 
Restart the MathWorks Service Host/Computer
The MathWorks Service Host is a critical required part of the MathWorks software installed on your machine. Try resolving the issue by restarting the MathWorks Service Host via a computer restart. 
  1. Shut down MATLAB if it is still running. 
  2. Restart your computer. 
  3. Start MATLAB to see if the issue is resolved. 
Reinstall MATLAB 
Your installation of MATLAB may be corrupt. MATLAB must be uninstalled and reinstalled. To uninstall and reinstall MATLAB, see these links: 
Disable antivirus software 
If your antivirus software has not been able to find any malicious software, the antivirus software itself may be causing MATLAB to malfunction. Try temporarily disabling it and then launching MATLAB. 
(macOS only) Remove and re-add Full Disk Access for MATLAB
If MATLAB has Full Disk Access, remove its Full Disk Access permissions and restart MATLAB. If this does not resolve the issue, you may grant MATLAB Full Disk Access again to see if this resolves the issue. 
Reinstall the MathWorks Service Host 
If the previous possible solutions do not resolve your issue, try reinstalling the MathWorks Service Host. Follow the instructions in How do I uninstall and reinstall the MathWorks Service Host? 
Contact support 
If all other possible solutions do not resolve your issue, contact support
Include your MathWorks Service Host log files in the support case. To locate these files, see Where are the Installation, Activation, & Service Host log files located for MATLAB?  

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!