前言:使用的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.