Matlab seems to search outside of path

1 次查看(过去 30 天)
So, working from home, I have slow network paths (VPN). Therefore, I've removed this network path from my path variable. But now I get this error:
>> read_loading
'reset_all' is not found in the current folder or on the MATLAB path, but exists
in:
\\local\user\Home\<me>\My Documents\MATLAB
Change the MATLAB current folder or add its folder to the MATLAB path.
Error in read_loading (line 1)
reset_all
So, although I didn't want Matlab to search in the \\local (network) directory, it did so anyway. This makes things very (VERY) slow (is it also searching at other network drives? I've got more installed...)
(indeed reset_all is in the location indicated, so I need to adjust the 'read_loading' script)
I can't find an option to not do this, is there a way around this?
  4 个评论
Priyanka Kondapalli
Priyanka Kondapalli 2021-12-23
Hello,
I see that the response provided by Walter has helped to an extent. Please use the documentation for more assitance on caching.
Arjan Lampe
Arjan Lampe 2021-12-23
It turns out that it is for the most part, if not entirely, a Windows issue. So it takes Windows a long time to realize the broken network path is useless (I suspect a timeout somewhere). So, broken mapped network drives are just killing (also with other software, like Word).

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by