Doc command/Help button don't work while "Current Folder" is in a mapped network drive
显示 更早的评论
When my Current Folder (working directory) is in a mapped network drive (regardless of whether I've added the current folder to the MATLAB path), neither the "doc " command nor the Help button (in the Ribbon) work. Nothing happens at all. I discovered that the command
web("https:\\www.mathworks.com")
produces the following warning in that case:
Warning: MATLAB was unable to launch your System web browser:
The current directory is invalid.
> In web>displayWarningMessage (line 172)
In web (line 114)
Out of curiosity I changed my current folder to one on my local C: drive; when I did that, both the "web" command and the "doc" commands successfully opened the system Web browser (as they should).
Why would my current folder location make a difference? Is there anything I can do to fix it? Is this a bug?
10 个评论
Matt J
2025-5-14
Try restarting Matlab, but do NOT run as administrator.
Matthew McMahon
2025-5-14
Matt J
2025-5-14
I idly wonder if it is related to this post,
Image Analyst
2025-5-14
Does that Z folder show up in your startup.m file, or in the path list if you click the Set Path button on the tool ribbon? If so, remove it.
Walter Roberson
2025-5-14
I cannot say that I am astonished; there have been several mapped-drive glitches showing up in the last half-year.
Matthew McMahon
2025-5-14
Matthew McMahon
2025-5-14
Matthew McMahon
2025-5-15
Image Analyst
2025-7-4
Please attach this file "C:\Program Files\MATLAB\R2024b\toolbox\local\pathdef.m" so we can inspect it.
Matthew McMahon
2025-7-7
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!