Matlab: Installing problems R2022a

After installing, the following messages were generated:
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\simulink\edittimeui
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\simulink\examplefinder\src
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\coder\autosar_shared_dictionary_app
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\dsp\dsphdl\compiled
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\examples\opc\data
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\instrument\apps\modbusapplet
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\instrument\apps\provider
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\matlabxl\function_wizard
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\opc\opc
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\opc\opcgui
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\opc\opcblks\opcblks
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\opc\opcblks\opcmasks
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\opc\opcdemos
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\opc\opcdemos\opcblksdemos
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\pde\pdedemos
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\physmod\sm\sli\m\dialog\toolstrip
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\shared\mltemplate
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\simulinktest\simulinktestdemos
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\slde\examples
Warning: Name is nonexistent or not a directory: C:\MATLAB\R2022a\toolbox\systemcomposer\classdiagram
Unrecognized function or variable 'matlab.internal.docsearchserver.getDocCenterLanguage'.

Undefined function 'rmfield' for input arguments of type 'string'.
Error in matlab.internal.doc.project.buildToolboxStruct (line 44)
toolbox_struct = rmfield(toolboxStruct,fieldsToRemove);
Error in matlab.internal.doc.project.getCustomToolboxes (line 12)
customToolboxes = matlab.internal.doc.project.buildToolboxStruct(docFiles,demoFiles);
Error in matlab.internal.doc.updateCustomDocContent (line 2)
matlab.internal.doc.project.getCustomToolboxes;

Check for incorrect argument data type or missing argument in call to function 'rmfield'.
Error in matlab.internal.doc.project.buildToolboxStruct (line 44)
toolbox_struct = rmfield(toolboxStruct,fieldsToRemove);
Error in matlab.internal.doc.project.getCustomToolboxes (line 12)
customToolboxes = matlab.internal.doc.project.buildToolboxStruct(docFiles,demoFiles);
Error in matlab.internal.doc.search.configureSearchServer>findCustomToolboxes (line 40)
tbxs = matlab.internal.doc.project.getCustomToolboxes;
Error in matlab.internal.doc.search.configureSearchServer (line 12)
tbxs = findCustomToolboxes;

解决方案:

restoredefaultpath
savepath

Warning: Unable to load Toolbox Path Cache C:\Users\typist\AppData\Local\MathWorks\MATLAB\R2023a\toolbox_cache-9.14.0-107017170-win64.xml. The cache file is not in the correct
format. It will be regenerated upon quitting MATLAB.

解决方案:

rehash toolboxcache

posted @ 2022-04-24 16:33  ChrainY  阅读(134)  评论(0编辑  收藏  举报