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

58 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
Edited: MathWorks Support Team on 6 Apr 2021
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)

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.

Categories

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

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!