How to resolve this error: "Problem finding map file using com.mathwo​rks.mlwidg​ets.help.H​elpUtils.g​etMapfileN​ame(matlab​, matlab_env). Exception: null"

36 ビュー (過去 30 日間)
Jon
Jon 2016 年 10 月 24 日
コメント済み: Liyuan 2019 年 3 月 22 日
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---

回答 (2 件)

Roberto Olmi
Roberto Olmi 2018 年 10 月 11 日
I solved by reinstalling Matlab.

Joshua Long
Joshua Long 2016 年 10 月 26 日
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 件のコメント
Roberto Olmi
Roberto Olmi 2018 年 10 月 11 日
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
Liyuan 2019 年 3 月 22 日
Doesn't work for me too, I'm using Matlab2016b on windows 10 with a shared license.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by