matlab启动会报​错:无法与所需的Ma​thWorks服务通​信

208 views (last 30 days)
书磊
书磊 on 8 Jul 2023
Commented: Zhubao on 17 Oct 2024
matlab启动会报错:无法与所需的MathWorks服务通信

Answers (2)

杨博元 杨
杨博元 杨 on 22 May 2024
如果安装了360安全卫士,尝试以下步骤:
(1)打开360安全卫士,选择“木马查杀”选项
(2)点击右下角“恢复区”,在跳出的“安全操作中心”对话框中查看“可恢复区”是否有“C:\Users\Administrator\AppData\Local\MathWorks\ServiceHost”路径下的文件,如有,全部选中,点击下方“恢复所选”按钮
(3)在跳出的“360恢复区”弹框上勾选“恢复后信任此文件,不再查杀”,点击“恢复”按钮
(4)点击“安全操作中心”对话框左侧的“已信任区”,点击“添加目录”按钮,在跳出的“浏览文件夹”对话框中选择“C:\Users\Administrator\AppData\Local\MathWorks”路径和MATLAB的安装路径例如“D:\IDE-Matlab\R2023b”
备注,如果向“已信任区”添加目录时找不到AppData\Local\MathWorks文件夹,可尝试:
(1)按Win+R,输入control folders
(2)在跳出的“文件资源管理器选项”对话框,点击“查看”选项,找到“隐藏文件和文件夹”,选中“显示隐藏的文件、文件夹和驱动器”
总结,如果MATLAB原先可以用,突然出问题了,就要检查是不是安全软件或杀毒软件的问题。
————————————————
原文链接:https://blog.csdn.net/weixin_62405811/article/details/138602193
  2 Comments
Zhubao
Zhubao on 17 Oct 2024
感谢您的解答,这个方法十分有用
媛
on 12 Nov 2024 at 3:00
有用!恢复完立马就好了

Sign in to comment.


Keshav
Keshav on 1 Aug 2023
Generally this error appear because of licensing issue. You can try out the following steps to resolve above error.
(i) Restart MATLAB
(ii) Restart your computer or end the MathWorks Service Host process.
(iii) Uninstall and reinstall the MathWorks Service Host.
For detailed instructions on how to perform these steps, you can refer to the Matlab Answer link provided below:

Categories

Find more on 启动和关闭 in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!