Unable to access mapped drives
33 views (last 30 days)
Show older comments
I realize from the title that the tendency will be that this has already been answered, but I have new/additional information. I am running Windows 10 Pro Version 1909 and MatLab R2019a. External to MatLab, in a DOS window, when I execute "net use", I get:
C:\Users\14105>net use
New connections will not be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
OK Y: \\gs448ecn5035919.ndc.nasa.gov\d
Microsoft Windows Network
OK Z: \\gs448share.ndc.nasa.gov\WFIRST
Microsoft Windows Network
The command completed successfully.
When I execute a similar system command from MatLab's command window, I get:
>> [status,cmdout] = system('net use','-echo')
New connections will not be remembered.
There are no entries in the list.
status =
0
The odd thing about this is that a few weeks ago, I was able to access those drives from within MatLab, which suggests (I well understand) operator error (me). It is almost as if MatLab does not have the same environment/privileges that exist for a command window. By way of information, I have MatLab running with Admin privileges. In your experience, is there a way that MatLab, in spite of having the property of running in Admin mode, is somehow curtailed in its environment or privileges, or that I have inadvertently done something as Admin that would cause this behavior? I realize that when dealing with system administration, a question like this can be a real can of worms.
Thanks
0 Comments
Answers (1)
Stan Shepherd
on 26 Aug 2021
I am able to access my T: drive from within my Matlab Admin session, by explicitly remapping it from within the session
!net use T: \\xxx\yy
(I found this explanation from Microsoft: Mapped drives are not available - Windows Client | Microsoft Docs
0 Comments
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!