How to permanently set the startup folder?

9 views (last 30 days)
TanChaud
TanChaud on 19 Oct 2018
Commented: TanChaud on 24 Oct 2018
Hi everyone! I am using Matlab R2018a and am unable to set the startup folder. I used the General Preferences option of Environment section to save the initial working folder. When I close the current session and restart Matlab, my startup folder is not what I set the initial working folder as in the previous session. Could you please me?
  5 Comments
TanChaud
TanChaud on 19 Oct 2018
Thanks for your response everyone! @Stephan - Hey,I already tried this. Didn't work. @Walter - Yes, you're right. @Shameer - I need administrative rights for this.
TanChaud
TanChaud on 24 Oct 2018
Hey we only need to change the default value of userpath() to a folder, we would like to see as the startup folder for each matlab session. Check link below to see how this is done.
https://de.mathworks.com/help/matlab/ref/userpath.html?searchHighlight=userpath&s_tid=doc_srchtitle

Sign in to comment.

Answers (0)

Categories

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!