- Shut down MATLAB if it is still running.
- Restart your computer.
- Start MATLAB to see if the issue is resolved.
Why do I receive Error 5201 - Unable to access services required to run MATLAB?
12,920 views (last 30 days)
Show older comments
MathWorks Support Team
on 1 Oct 2022
Edited: MathWorks Support Team
on 4 Oct 2024
When I try launch to MATLAB, I get the following error: How do I resolve this?
Unable to access services required to run MATLAB (error 5201).
Accepted Answer
MathWorks Support Team
on 4 Oct 2024
Edited: MathWorks Support Team
on 4 Oct 2024
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 your computer.
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?
Allow MATLAB and the MathWorks Service Host on antivirus, security software, VPNs, or proxy servers
If you have any antivirus, security software, VPNs, or proxy servers, try adding an exception to unblock the MathWorks Service Host. The name of the executable varies by operating system, as shown below.
Windows
MathWorksServiceHost.exe
macOS
MathWorksServiceHost.app
Linux
MathWorksServiceHost
Check for operating system updates
Check your operating system for updates, and then download and install those updates.
(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.
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?
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!