Products & Services Solutions Academia Support User Community Company

Learn more about Spreadsheet Link EX   

MLStartDir - Specify MATLAB current working folder after startup

Syntax

Worksheet:

MLStartDir(path)

Macro:

MLStartDir path

path

Specify the current MATLAB working folder after startup.

Description

Sets the MATLAB working folder after startup. This function does not work like the standard Microsoft Windows Start In setting, because it does not automatically run startup.m or matlabrc.m in the specified folder.

Examples

Set the MATLAB working folder to d:\work after startup:

MLStartDir ("d:\work")

If your folder path includes a space, embed the path in single quotation marks within double quotation marks. For example, to set the MATLAB working folder to d:\my work, run the command:

MLStartDir ("'d:\my work'")

See Also

MLAutoStart

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS