You have 2 Matlab programs on the same computer? You mean different releases? Then I would not dare to share the settings, because there is no evidence that they are compatible.
For the same release on a different computer I'd copy the files in the prefdir. I'd omit the toolbox_cache files.