Why could matlab not find the appcontainer folder?

12 views (last 30 days)
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'.

Answers (1)

Jan
Jan on 9 Mar 2023
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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!