This is an old revision of the document!
When MATLAB starts, it looks for a pathdef.m file in its startup directory.
Start up folder (in the 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.: