Azzera filtri
Azzera filtri

MatLab fails to recognize mapped drives

21 visualizzazioni (ultimi 30 giorni)
Tony Sanders
Tony Sanders il 13 Lug 2022
Commentato: Eric il 17 Lug 2024 alle 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 Commento
Eric
Eric il 17 Lug 2024 alle 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!")

Accedi per commentare.

Risposte (1)

Kshittiz Bhardwaj
Kshittiz Bhardwaj il 13 Lug 2022
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.

Categorie

Scopri di più su Manage Products in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by