Why could matlab not find the appcontainer folder?

5 次查看(过去 30 天)
After starting up Matlab I get the following errors in the command window:
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2022b\toolbox\matlab\appcontainer\appcontainer
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2022b\toolbox\matlab\parquetds
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2022b\toolbox\matlab\parquetio
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2022b\ui\mw-webwindow\mw-webwindow-m
Warning: Can't find the resource file 'toolbox/matlab/graphics/hg/hgrc.m' needed by 'C:\Program Files\MATLAB\R2022b\bin\win64\hg.dll'
> In initprefs (line 11)
Warning: Can't find the resource file 'toolbox/matlab/graphics/hg/hgrc.m' needed by 'C:\Program Files\MATLAB\R2022b\bin\win64\hg.dll'
> In initprefs (line 11)
Warning: Can't find the resource file 'toolbox/matlab/graphics/hg/hgrc.m' needed by 'C:\Program Files\MATLAB\R2022b\bin\win64\hg.dll'
> In initprefs (line 11)
Warning: Can't find the resource file 'toolbox/matlab/graphics/hg/hgrc.m' needed by 'C:\Program Files\MATLAB\R2022b\bin\win64\hg.dll'
> In initprefs (line 11)
Warning: Can't find the resource file 'toolbox/matlab/graphics/hg/hgrc.m' needed by 'C:\Program Files\MATLAB\R2022b\bin\win64\hg.dll'
> In initprefs (line 11)
Unrecognized function or variable 'rmfield'.

回答(1 个)

Jan
Jan 2023-3-9
Unrecognized function or variable 'rmfield'.
It seems like the complete Matlab path is destroyed. Please explain, what has happened before. Is this a fresh installation? Did you edit the pathdef.m file? Did you shaddow this file by a personal version, which does not include the toolbox folders?
This command should fix a damaged path.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by