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

조회 수: 11,328 (최근 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년 10월 4일
편집: MathWorks Support Team 2024년 10월 4일
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