The startup folder on Apple Macintosh platforms depends on the way you started MATLAB®.
|How Started||Startup Folder|
Double-click the MATLAB application
The startup folder is the value returned when you enter userpath, which by default is userhome/Documents/MATLAB. MATLAB automatically adds the userpath folder to the top of its search path upon startup. To specify a different folder for userpath, and for other options, use the userpath function.
You can specify that the userpath be the startup folder by setting the value of the environment variable MATLAB_USE_USERWORK to 1.
Start MATLAB in a shell
The default startup folder is the folder from which you started MATLAB.