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

21,628 次查看(过去 30 天)
When I try launch to MATLAB, I get the following error:
Unable to access services required to run MATLAB (error 5201).
How do I resolve this?

采纳的回答

MathWorks Support Team
MathWorks Support Team 2024-9-20,0:00
编辑:MathWorks Support Team 2024-9-20,20:21
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. 
  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.  
(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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by