windows matlab.exe -nodesktop does not find Y: drive

4 ビュー (過去 30 日間)
David
David 2024 年 12 月 5 日
回答済み: Divyanshu 2024 年 12 月 17 日
Running matlab in desktop mode and am able to find all drives under 'file explorer', I use 'addpath' to include Y: drive in my $PATH. I prefer to
run in -nodesktop mode, but cannot find my Y: drive. Is there a way to do this from the command prompt? Or is there a way to point to
the path file constructed from the desktop runs. I would add that the command prompt (where I launch matlab.exe) does not see the network drive Y:
Thanks,
David
  2 件のコメント
Image Analyst
Image Analyst 2024 年 12 月 5 日
If you just open a console (command prompt) window by itself, does it see the Y: drive?
David
David 2024 年 12 月 5 日
No. Only the C drive

サインインしてコメントする。

回答 (1 件)

Divyanshu
Divyanshu 2024 年 12 月 17 日
Hi @David,
To enable the command prompt session opened from C drive, you might have to map the network drive 'Y' to some alias from the same command window session. You can achieve this using 'Net use'.
You can refer the following documentation link for more details:
Hope it helps!

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by