MatLab fails to recognize mapped drives

21 次查看(过去 30 天)
Tony Sanders
Tony Sanders 2022-7-13
评论: Eric 2024-7-17,11:19
I have a mapped network drive that for some reason MatLab cannot see. The drive is mapped over a VPN portal. Literally all other programs and apps on my laptop can see this drive; but not MatLab. Any help would be appreciated. Thanks.
  1 个评论
Eric
Eric 2024-7-17,11:19
I get this behaviour as well - and similarly the drive(s) are mapped over my company's VPN.
What I've found is that, if I access the drive via Windows Explorer (this is in Windows 10) Matlab can then see it.
If I don't do that first, I get the error "Warning: Name is nonexistent or not a directory: X:\my_network_drive".
As @Tony Sanders reported, other apps on the computer don't suffer from this problem, but I believe a lot of those use an API to Windows Explorer/File Explorer to access folders, so that may have the same "magic effect" as accessing the network drive in Explorer. It is odd, though, and smacks a little of superstition rather than logic ("Turn around 3 times and say the magic words... or access the drive using Windows Explorer... and the riches shall be thine!")

请先登录,再进行评论。

回答(1 个)

Kshittiz Bhardwaj
Kshittiz Bhardwaj 2022-7-13
Hello Tony,
As per my understanding you are unable to locate the mapped network drive on MATLAB.
First of all it would be appreciated if you attach the screenshots with such queries as it would help us to understand the actual problem. As you are saying that all other programs apart from MATLAB are able to locate the drive.
Without knowing the actual issue, the first thing you can try is to restart the MATLAB. It would fix the issue in most of the cases. If it is still not fixed, you may try to map the same drive again(For eg if previously you mapped to X, then do it again with Y) and see if the issue still pertains.

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by