Clear Filters
Clear Filters

Matlab seems to search outside of path

2 views (last 30 days)
Arjan Lampe
Arjan Lampe on 12 Dec 2021
Commented: Arjan Lampe on 23 Dec 2021
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 Comments
Priyanka Kondapalli
Priyanka Kondapalli on 23 Dec 2021
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 on 23 Dec 2021
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).

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!