Why do I receive Error 5201 - Unable to access services required to run MATLAB?
16,315 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2022-10-1
编辑: MathWorks Support Team
2024-4-26,12:54
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).
采纳的回答
MathWorks Support Team
2024-4-26,0:00
编辑:MathWorks Support Team
2024-4-26,12:54
This error indicates that MATLAB has encountered a licensing issue. Follow the steps below to resolve this error:
Follow the directions from the link below to end the service host process. If this does not work, then uninstall and reinstall the MathWorks Service Host from the same link below.
How do I uninstall and reinstall the MathWorks Service Host?
If you have any antivirus, security software, VPNs, or proxy servers, please try temporarily disabling them or adding an exception for the MathWorks Service Host to be unblocked. The executable's full path for each Operating System can be found below. You will need to replace the version number with the version you have installed, as well as the username with your computer's username.
Windows
C:\Users\%username%\AppData\Local\MathWorks\ServiceHost\(VersionNumber)\bin\win64\MathWorksServiceHost.exe
macOS
~/Library/Application Support/MathWorks/ServiceHost/(VersionNumber)/MathWorksServiceHost.app
Linux
~/.MathWorks/ServiceHost/$HOSTNAME/(VersionNumber)/bin/glnxa64/MathWorksServiceHost
If you are unable to fully disable these or if you are unsure if you can, please add MATLAB and the MathWorks Service Host to its whitelist, so they may function properly.
If you have only partially or failed to install a recent Windows update, please complete, reattempt, or remove the unfinished update.
If you have given MATLAB Full Disk Access, please remove its permissions to this and then attempt to launch MATLAB. If this does not resolve the issue, you may grant it Full Disk Access again to see if this resolves the issue.
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!