MatLab fails to recognize mapped drives

24 visualizaciones (últimos 30 días)
Tony Sanders
Tony Sanders el 13 de Jul. de 2022
Comentada: Eric el 17 de Jul. de 2024
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 comentario
Eric
Eric el 17 de Jul. de 2024
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!")

Iniciar sesión para comentar.

Respuestas (1)

Kshittiz Bhardwaj
Kshittiz Bhardwaj el 13 de Jul. de 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.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by