フィルターのクリア

Unable to access mapped drives

35 ビュー (過去 30 日間)
Tony Sanders
Tony Sanders 2020 年 6 月 8 日
回答済み: Stan Shepherd 2021 年 8 月 26 日
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

回答 (1 件)

Stan Shepherd
Stan Shepherd 2021 年 8 月 26 日
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

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by