When I launch MATLAB R2019a, the following warnings are printed in the Command Window:
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2019a\toolbox\matlab\connector2\file
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2019a\toolbox\matlab\connector2\framework
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2019a\toolbox\matlab\connector2\json
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2019a\toolbox\matlab\connector2\microservices
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2019a\examples\matlab_featured
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2019a\examples\stats_featured
I have multiple releases of MATLAB installed, including R2018a, R2018b and R2019a. I am not using a custom "pathdef.m" and I do not have a "startup.m" file. When I run "which -all pathdef.m", it returns the path to the default R2019a "pathdef.m" that comes with the R2019a installation of MATLAB:
>> which -all pathdef.mC:\Program Files\MATLAB\R2019a\toolbox\local\pathdef.m
I have opened this "pathdef.m" and found no reference to any of the folders listed in the warnings in the file. Why is this happening and how can I stop it?
Best Answer