R13 SP1 to R14 SP3, new path origin and …

Discussion in 'MATLAB' started by portable 0, Feb 17, 2006.

  1. portable 0

    portable 0 Guest

    I just installed R14 SP3, and it defaulted to the "Program Files"
    subdirectory, while R13 SP1 remained in the root directory (previous

    The new pathdef.m file has a “DO NOT MODIFY” warning. Hasn’t it been
    common practice to mix and match different versions of the file and
    lines from different versions of the file?

    Can I move (and overwrite) files (toolboxes and other) from the old
    to the new directory? How best to migrate environment settings to the
    new version?
    portable 0, Feb 17, 2006
    1. Advertisements

  2. portable 0

    Matt Crema Guest

    I wonder if the pathdef.m file is actually a remnant from the old (R13)
    install. Maybe rename it to pathdef.old and restart matlab.

    Matt Crema, Feb 17, 2006
    1. Advertisements

  3. portable 0

    portable 0 Guest

    I compared pathdef.m in the R13 and R14 directories in an editor, and
    they are different. I want to copy the relevant info from R13 to
    R14 to migrate the path settings built up previously. How shall I do
    that safely (considering the warning not to modify)?
    portable 0, Feb 17, 2006
  4. As long as you keep a backup copy of both pathdef.m files I don't think
    you can mess things up too bad. But, I guess the safest way to do it is
    the by using the pathtool (type 'pathtool' at the Matlab command prompt).

    Make sure that there are no references to any "old" matlab folders in
    the search path. Also, be sure to save any changes you make before exiting.

    Matthew Crema, Feb 17, 2006
  5. portable 0

    portable 0 Guest

    As long as you keep a backup copy of both pathdef.m files I don't
    Your messages reminded me that all the old paths will change as those
    toolbox folders are migrated to the R14 direcectory.


    When upgrading to a new version, can one load on top of the old
    version to keep the “settings/environment”, or is it necessary to
    uninstall the old and reinstall the new ML version and build up the
    “settings” from scratch?

    Am I correct that the default ML path has moved from the root to the
    Program Files directory in Windows?
    portable 0, Feb 18, 2006
  6. I find it is generally a good idea to uninstall software before
    installing a new version. I would go so far as to uninstall the old
    version, move the leftover files into a temporary folder (where the R14
    installer will not be able to find them), and install the new version
    with default preferences.

    Then take the "old" files you want to keep and move them to the "new"
    matlab folder.
    Don't know, but you should be able to specify whatever path you want.

    Matthew Crema, Feb 19, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.