This is an old revision of the document!
When MATLAB starts, it will look for a pathdef.m file in its startup directory.
Start up folder (in the MATLAB icon | Properties | Start in ) (e.g. D:\Sources\MATLAB) allows controlling different paths and other settings via startup.m file placed in the folder, e.g.: