Clear Filters
Clear Filters

Error after installing MATLAB 2021a

44 views (last 30 days)
BHVAIN MEHTA
BHVAIN MEHTA on 6 Jul 2021
Commented: Eva Bracey on 16 Aug 2023
Error using builtin
Can't find the resource file 'toolbox/matlab/graphics/hg/hgrc.m' needed by 'E:\bin\win64\hg.dll'
Error in matlab.graphics.internal.initialize (line 15)
suppressedOutput = evalc('builtin(''groot'');');
Error in matlab.internal.doc.services.getDocLanguageLocale (line 11)
sysLang = get(0, 'Language');
Error in matlab.internal.doc.csh.HelpTopicMap.accessDocLanguage (line 65)
docLang = matlab.internal.doc.services.getDocLanguageLocale;
Error in matlab.internal.doc.csh.findDocCatalogFiles>findFilesUnderRoot (line 18)
docLang = matlab.internal.doc.csh.HelpTopicMap.accessDocLanguage;
Error in matlab.internal.doc.csh.findDocCatalogFiles (line 2)
files = findFilesUnderRoot(docroot, catalogFolder, shortname);
Error in matlab.internal.doc.csh.HelpTopicMap/retrieveHelpTargets (line 128)
files = matlab.internal.doc.csh.findDocCatalogFiles("cshapi_helptarget", obj.shortname);
Error in matlab.internal.doc.csh.HelpTopicMap/mapSingleTopic (line 97)
retrieveHelpTargets(obj);
Error in matlab.internal.doc.csh.HelpTopicMap/mapTopic (line 27)
helpPath(i) = mapSingleTopic(obj, topicId(i));
Error in matlab.internal.doc.csh.mapTopic (line 5)
helpPath = helpTopicMap.mapTopic(topicId);
Error in matlab.internal.language.introspective.getExtendedErrorCallback (line 6)
path = matlab.internal.doc.csh.mapTopic(shortname, topicId);
Unrecognized function or variable 'matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance'.

Answers (1)

Ramon Diaz
Ramon Diaz on 9 Aug 2021
Same issue for me... solved by entering the following three commands into MATLAB, one after the other:
>> rehash toolboxcache
>> restoredefaultpath
>> savepath
(solution found from a similar issue addressed here:
I remember doing this when I upgraded from R2019 to R2020 as well.
  11 Comments
Alejandro Blenkmann
Alejandro Blenkmann on 17 Jan 2023
Edited: Alejandro Blenkmann on 17 Jan 2023
Worked on r2022b too. Thanks!
Eva Bracey
Eva Bracey on 16 Aug 2023
Yes, also worked on r2022b. Thank you!

Sign in to comment.

Categories

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

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!