Different Matlab Sessions
13 次查看(过去 30 天)
显示 更早的评论
Hey, I'm using matlab both in my workplace and for my academic research. Currently, I'm using two Matlabs- one for work and one for research, so that in each one I have the relevant paths, command-history, and open m files in the editor. I wanted to ask- is there a better way? i want to use only one matlab, and have somekind of "session manager", that will enable me to go back and forth btwn "sessions" (defined by paths, command-history, open m files, maybe even editor-colors, etc..) Thank you
3 个评论
采纳的回答
Ken Atwell
2012-4-1
You could accomplish this within one version of MATLAB by using different preferences setting folders for the two sessions. Session #1 would use one preference folder #1, and the session #2 would use preference folder #2. See:
It would be your responsibility to keep these session/preference pairs straight and to use them consistently. You may want to create a BAT file (Windows) or sh file (Linux, Mac) to set the environment variable and launch MATLAB as a single action to minimize the likelihood of making a forgetful error in the future.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!