MATLAB Answers

Why do I see "The specified key is not present in this container" error in my installation log file when installing a Support Package?

144 views (last 30 days)
When I try to install a Support Package in MATLAB, I get the following error message:
ERROR: "The specified key is not present in this container."
Why am I getting this error message? How can I resolve this issue? 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 8 Apr 2021 at 4:00
Edited: MathWorks Support Team on 8 Apr 2021 at 8:43
The issue is caused due to an error in installation of a Support Package which corrupts other Support Packages when there are multiple Support Packages installed. 
Currently, the workaround is to remove all installed Support Packages from the MATLAB path, delete the folders from the installation directory and re-install them. For instructions please refer to the following article:
How do I perform a clean re-installation of a Support Package?​
https://www.mathworks.com/matlabcentral/answers/318635-how-do-i-perform-a-clean-re-installation-of-a-support-package
  5 Comments
Saket Srivastava
Saket Srivastava on 8 Dec 2016
I am sorry to say, that neither is this issued resolved in Matlab R2015b nor the proposed workaround (of uninstalling the recent add-ons that caused this issue) a solution.
I can say this because I am currently facing the same issue in R2015b version. And when I contacted technical support they could not figure it out, so I sent them a link to this thread and told them that even though this issue should not be in the version, I am still facing it.
In that email, I also told them I have tried the solution listed here already but when I try to uninstall those packages it is again throwing the same error message (similar to the one that it throws while installation of new add-ons).
However, the guy completely ignored the latter past of my comment (that I have already tried this proposed solution) and send me a copy paste of the reply cited here (even though I was the one who send them the link in the first place)... As if I cannot read what I have sent them!!!
Wonderful...
-Saket

Sign in to comment.

More Answers (2)

Noam Greenboim
Noam Greenboim on 12 Apr 2018
Before uninstalling any app, look if you have any .mex file with the same name, shadowing an .m file.
Delete the .mex and see if it helps.

Products


Release

No release entered yet.

Community Treasure Hunt

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

Start Hunting!