Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Resetting mlibs in running Stata

    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
    Kind regards

    nhb (Moved to Stata 15.1)

  • #2
    Sorry, my solution did work.
    It was bad use of the keyword version that made my code fail.
    Please ignore the above
    Kind regards

    nhb (Moved to Stata 15.1)

    Comment

    Working...
    X