doc requires admin in windows

10 views (last 30 days)
Neil Judell
Neil Judell on 16 Dec 2025 at 21:18
Answered: Ayush about 2 hours ago
Since the last update (approx 14 December 2025), both R2024B and R2025B under Windows on my laptop will not show documentation. The doc command does nothing. If I run as administrator, the doc command works. Similarly, I cannot update or change toolboxes unless running as administrator. I tried uninstalling and reinstalling. I tried installing into a new directory I created and have full privleges over. Nope. Just won't go.
On the other hand, on my Windows workstation, doc and such work perfectly. Any ideas?????

Answers (1)

Ayush
Ayush 2 minutes ago
Hi Neil,
I understand that MATLAB s not showing documentation or allowing toolbox updates unless you run it as administrator. This usually points to a permissions or security setting issue on your laptop, possibly triggered by a recent Windows or antivirus update.
Here are a few things you can try:
  • Check Windows security settings: Sometimes, features like Controlled Folder Access or antivirus software can block MATLAB from accessing certain folders. Try turning off these features temporarily or adding MATLAB as an exception.
  • Verify folder permissions: Make sure your user account has full control over the MATLAB installation folder and your MATLAB user folders (like Documents\MATLAB and AppData\MathWorks).
  • Delete MATLAB preferences: Corrupted preference files can cause issues. Try closing MATLAB, deleting or renaming your "%APPDATA%\MathWorks\MATLAB\R2025b" folder, and restarting MATLAB.
  • Test with a new Windows user account: This can help determine if the issue is specific to your user profile.
Hope it helps!

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!