MatLab Desired port was :31515解决方案

前言:使用的MatLabR2022b今天突然出现了错误,在程序中打不开文件。后尝试了下面的方法,可以解决。
在这里插入图片描述

解决方法一:
搜索栏输入:firewall.cpl
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

找到相关项,右键属性,设置为允许。
在这里插入图片描述
之后就可以了。

后面还有另一种方法,上面方法如果行不通,大家可以尝试一下。

To add a Windows firewall port exception:
On the client operating system, go to Start>Run and type firewall.cpl. The Windows Firewall window opens.
Click on the “Advanced Settings” link on the left pane. The Windows Firewall with Advanced security window opens.
Click on the “Inbound Rules” option.
On the left pane, click on “New rule”.
Under “Rule Type” select the option “Port” and click next.
Select “TCP”and “specific local ports” options.
Key in the port number, the default port is TCP port 135.
Click Next.
Select the option “Allow the connection”.
Click Next, do not change any option here and click Next again.
Specify a name for this rule.
Click Finish.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值