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

조회 수: 1,915 (최근 30일)
When I try launch to MATLAB, I get the following error:
Unable to access services required to run MATLAB (error 5202).
How do I resolve this?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2024년 3월 27일
편집: MathWorks Support Team 2024년 3월 27일
This error indicates MATLAB has encountered a licensing issue: it cannot install the MathWorks Service Host. Follow the steps below to resolve this issue:

 

1. Check user's permissions on installation folder

The user attempting to run or install MATLAB must have permissions to read, write, and access to the folder that the MathWorks Service Host installs to. Depending on the Operating System you are using, please make sure the user has appropriate permissions for the folder listed below.
Windows
C:\Users\%username%\AppData\Local\MathWorks
macOS
~/Library/Application Support/MathWorks
Linux
~/.MathWorks/ServiceHost/$HOSTNAME/
 

2. End MathWorks Service Host processes and Uninstall and reinstall the MathWorks Service Host

Follow the directions from the link below to end the service host process, then uninstall and reinstall the MathWorks Service Host.
How do I uninstall and reinstall the MathWorks Service Host?
 

3. Contact Support

If these steps do not resolve your issue, please find your Service Host log files, contact MathWorks Support, and send the log files to us. If you do not know where those files might be, please view the link below:
Where are the Installation, Activation, & Service Host log files located for MATLAB?
Contact Support

추가 답변 (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