Documentation Center

  • Trial Software
  • Product Updates

Startup Folder on Linux Platforms

On Linux® platforms, the default startup folder is the folder from which you started MATLAB®.

You can specify that the userpath be the startup folder by setting the value of the environment variable MATLAB_USE_USERWORK to 1 before startup. By default, userpath is userhome/Documents/MATLAB, and MATLAB automatically adds the userpath folder to the top of the search path upon startup. To specify a different folder for userpath, and for other options, use the MATLAB userpath function.

See Also

Related Examples

Was this topic helpful?