Documentation Center

  • Trial Software
  • Product Updates
我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

Startup Folder on Windows Platforms

The startup folder on Windows® platforms depends on the startup options you specified and the way you started MATLAB®.

How StartedStartup Folder

Double-click the MATLAB shortcut on your Windows desktop

The startup folder is set to the userpath value, whose default value is Documents\MATLAB. The userpath folder is automatically added to the search path. If there is a value specified in the Start in field of the Properties dialog box for the MATLAB program, that value is the startup folder, although the userpath is added to the search path. If MATLAB does not find a valid userpath value upon startup, and the Start in field is empty, the startup folder is C:\Windows\System32.

Double-click a file type associated with MATLAB

The folder in which the file resides is the startup folder. The userpath folder is automatically added to the search path.
In a DOS windowThe folder in which you ran the matlab command is the startup folder. The userpath folder is automatically added to the search path.

See Also

Related Examples

Was this topic helpful?