Effacer les filtres
Effacer les filtres

Unable to access mapped drives

35 vues (au cours des 30 derniers jours)
Tony Sanders
Tony Sanders le 8 Juin 2020
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

Réponses (1)

Stan Shepherd
Stan Shepherd le 26 Août 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

Catégories

En savoir plus sur Manage Products dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by