MATLAB: How to setup MATLAB to differentiate things like recent directories and command histories for two unrelated projects

different pathsMATLABseparate versionsunrelated

I work on two separate and unrelated projects and I have separate directory locations I frequent, separate desired paths, and separate programs and commands I run for each one. Is there a way to have two different "personalities" within MATLAB to work on one project versus the other? I previously had two separate versions of MATLAB loaded on my computer and would use one version for Project A and one for Project B. I now only have one version and am wondering if I can recreate the separateness of things like paths and command histories. Thanks!

Best Answer

I don't think there is direct support for like this you describe. Path management can be semi-automated with scripts, but command history in particular is a "global" resource.
If you really want to have two personalities, you could consider managing two different areas for your MATLAB preferences. See this topic, but be sure to read through the limitations and caveats.