Change what folder matlab starts up with
1 view (last 30 days)
Show older comments
Lucas on 2 Jul 2012
Ok this is probably a stupid question but nothing I found on the internet works for me. When you start up MatLab there's the current folder box at the top where you can browse to a directory you want MatLab to look for file in. Is there anyway that I can set there the folder looks at the start. Make it go from:
'C:\Documents and Settings\comp101'
'C:\Documents and Settings\comp101\Desktop'
something like that.
There's a doc page with examples on how to do this:
If you need it to start directly there rather than run a script first, then you need to try one of the other two options. Either of those should start it directly in that folder.
More Answers (1)
grapevine on 2 Jul 2012
Edited: grapevine on 2 Jul 2012
Try to modify the variable : userpath
here you can find an extensive how-to
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!