More than one matlab version

Hi, I recently upgraded from R2016b to R2017b
- Is it normal that the old version is still on my pc?
- Is there any reason to keep both?
- When I click on a .m or .mat file, my pc open it with the old version, can I somehow fix that?
Thanks.

Answers (1)

Star Strider
Star Strider on 18 Nov 2017
- Is it normal that the old version is still on my pc?
Yes, unless you uninstall the previous version.
- Is there any reason to keep both?
Only if you want to. (If you intend to participate in MATLAB Answers, keeping both could be helpful in responding to version-specific Questions.)
- When I click on a .m or .mat file, my pc open it with the old version, can I somehow fix that?
One option is described in MATLAB File Association Fix (link).

7 Comments

"Is there any reason to keep both?" If you have your own or third party applications that are important to your work, you want to see them run well on the new release before you uninstall the old one.
Star Strider: synthetic,accurate,exhaustive;
Per Isackson: very wise.
Thanks to the both of you.
I'll try the "File Association Fix" solution, but I'd like to know more options (e.g., how did users adjusted the new version as the default way to open .m files, in case they keeped the old one, before this fix was released? I'm asking because I upgraded Matlab for the first time)
Our pleasure.
Another option (in MS Windows) is to open the Control Panel and go to:
Control Panel → All Control Panel Items → Default Programs → Set Associations
then manually change all references for the respective extensions from ‘MATLAB R2016b’ to ‘MATLAB R2017b’.
When individuals upgrade MATLAB normally part of the installation procedure is to automatically change the file association, so most people do not need to think about it (unless they prefer to have the older version invoked.)
*Another option (in MS Windows) is to open the Control Panel and go to:
Control Panel → All Control Panel Items → Default Programs → Set Associations then manually change all references for the respective extensions from ‘MATLAB R2016b’ to ‘MATLAB R2017b’*
Unluckily, when I click on the MATLAB R2016b icon near the .m and .mat extensions, MATLAB R2017b doesn't show up, and there is no "browse" option;
*When individuals upgrade MATLAB normally part of the installation procedure is to automatically change the file association, so most people do not need to think about it *
I didn't noticed that preference during the process. Unfortunately, some of the strategies in that link doesn't apply to the matter, and the others has been tried unsuccessfully. Thanks anyway to the both of you.
The installation does not give a preference for it: it just goes ahead and does the change.
At the moment I suspect the new installation is not working. I suggest invoking the new MATLAB directly for the moment, instead of trying to click on a .m file.

Sign in to comment.

Categories

Products

Asked:

on 18 Nov 2017

Commented:

on 19 Nov 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!