Why could matlab not find the appcontainer folder?

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 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2022b

質問済み:

2023 年 3 月 9 日

回答済み:

Jan
2023 年 3 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by