Okay, nevermind, I found a solution.
1. Give yourself editing rights to the file matlabrc.m 2. Between the lines 32 and 33 that contain the following code:
if exist('pathdef','file') && ...
~exist('RESTOREDEFAULTPATH_EXECUTED','var')
matlabpath(pathdef);
end
add the line
warning('off','MATLAB:dispatcher:pathWarning')
So it looks like this:
if exist('pathdef','file') && ...
~exist('RESTOREDEFAULTPATH_EXECUTED','var')
warning('off','MATLAB:dispatcher:pathWarning')
matlabpath(pathdef);
end
Not the cleanest solution, since it disables all warnings about missing paths, but sufficient for my problem, since I never really need the warning.