matlab - Where is startup.m supposed to be? -


i've been chasing answer question in matlab documentation long time...

for example, @ bottom of

http://www.mathworks.com/help/matlab/matlab_env/changing-the-startup-folder.html

it says

use startup.m file specify startup folder...

...which plainly absurd, since elsewhere documentation says startup.m found in so-called "startup folder". therefore there's no way file specify folder should be.

etc., etc., etc. sort of circularity pervades i've found in docs on startup.m.

what want know is: can or can't customize location of "startup folder" in way persistent, , if so, persistent information stored?

the best method, find, this. let's want matlab start in mystartupdir, , you've placed startup.m in directory.

on windows, make shortcut icon matlab, right-click on , select properties. edit field start in. now, use icon whenever want start matlab.

on other platforms, can run matlab -sd flag specify startup directory:

matlab -sd mystartupdir

if don't specify startup directory, matlab use default specified userpath command. can place startup.m file there.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -