Doc command/Help button don't work while "Current Folder" is in a mapped network drive
3 views (last 30 days)
Show older comments
Matthew McMahon
on 14 May 2025
Commented: Matthew McMahon
on 7 Jul 2025
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 Comments
Image Analyst
on 4 Jul 2025
Please attach this file "C:\Program Files\MATLAB\R2024b\toolbox\local\pathdef.m" so we can inspect it.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Web Services 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!