Hi
I'm building some mata code in which parts must be saved in Stata versions 12, 13, 14, or 15.
Basically, it is a mata class being extended whenever new functionality in later versions becomes available.
I'm ususally working in version 15.

I'm quite lazy. So I made some code that opens Stata version 12 generates and saves mata in a mlib. Likewise for the extensions in versions 13, 14 and 15.

The problem is, how to reset my running version 15, such that it uses the new saved mlib from Stata 12 etc instead of the old ones.
The only solution I've found so far is closing and starting Stata.

Looking forward to hear from you