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

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

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

More Answers (1)

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.

Categories

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!