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

MathWorks Solution

This error indicates that MATLAB has encountered a licensing issue. To resolve this error, try these possible solutions: 
Ensure you are using a qualified Operating System 
This error can occur if you are using an unqualified Operating System. To view the qualified Operating Systems, please refer to the MATLAB System Requirements.
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. 
  1. Shut down MATLAB if it is still running. 
  2. Restart your computer. 
  3. Start MATLAB to see if the issue is resolved. 
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.  
(Ubuntu 24.04 LTS only) Ensure the libgbm1 library is up to date 
This error is thrown due to an incompatible system library which is conflicting with one of the libraries we ship with the MathWorks Service Host. Upgrading libgbm1 to the latest version should resolve this. 
This can be upgraded by running the commands:
sudo apt update
sudo apt install --only-upgrade libgbm1
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? 

类别

在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Did this resolve your question?

No


Translated by