How to resolve this error: "Problem finding map file using com.mathworks.mlwidgets.help.HelpUtils.getMapfileName(matlab, matlab_env). Exception: null"
36 views (last 30 days)
Show older comments
The error I get is: "Problem finding map file using com.mathworks.mlwidgets.help.HelpUtils.getMapfileName(matlab, matlab_env). Exception: null"
I am running on an iMAC, ML 2016b, OS X Sierra.
Thanks! ---jon---
0 Comments
Answers (2)
Joshua Long
on 26 Oct 2016
This error may be caused by corrupted MATLAB preferences.
To regenerate your MATLAB preferences, do the following:
1. Locate the MATLAB preferences directory for your user account.
/Users/{username}/Library/ApplicationSupport/MathWorks/MATLAB/R2016b
You can also run the following command in the MATLAB command prompt in order to locate your preferences directory:
>> prefdir
This is where your "matlab.prf" file is located. Your path may be different depending on how your system is setup. The preference directory may be hidden in some operating systems.
2. Make sure that MATLAB is closed and rename the preferences directory of your current MATLAB version, for instance rename R2016b to R2016b_old. Then create an empty folder with the original name, in this case R2016b. Creating this empty folder will prevent MATLAB from importing a preference directory from a previous release.
3. Restart MATLAB. MATLAB will recreate preferences files in the empty preferences directory that was created in step 2.
If this does not address the issue that you hoped it would, it is possible to restore your preferences by deleting the newly created directory (R2016b) and renaming the R206b_old directory back to its original name: R2016b.
3 Comments
Roberto Olmi
on 11 Oct 2018
The same for me. Matlab 2016b. It started to happen after a new Installation of Win 10 (but previous version was win 10 too!). My suspect is that operating system is preventing Matlab to read or write on this location (but I'm running it as administrator)...
Liyuan
on 22 Mar 2019
Doesn't work for me too, I'm using Matlab2016b on windows 10 with a shared license.
See Also
Categories
Find more on Introduction to Installation and Licensing 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!