Well, since nobody has answered this question, I'll post my own answer.
I've attached an m-file, called export_search_path.
- export_search_path extracts the non-matlabroot directories on your search path, then decides if they belong in the beginning or end of the new path in your new MATLAB release.
- It then writes out a .mat file into your current directory with a name that should not conflict with anything.
- Finally, it creates on the fly an m-file in that directory that you can run in the new MATLAB release.
When you open the new MATLAB release, you cd to the indicated directory, and run import_search_path. Executing that m-file will update the search path in your new release.