Associate .mat, .m files with most recent Matlab

8 visualizaciones (últimos 30 días)
I want to change .mat and .m files to open the most recent version of MATLAB on my Windows computer.
When I go to the Set Associations window through Control Panel, select .mat, click "Change Program..." another window "Open with" opens showing only Matlab R2017a and Microsoft Access as "Recommended Programs". No Matlab programs are in the "Other Programs" list. Since I want to associate with R2017b, I click "Browse" and then select C:\Program Files\MATLAB\R2017b\bin\matlab.exe and click "Open" on the bottom of this window. 
When I go back to the Set Associations window, it still shows Matlab R2017a. 
This happens also when I select C:\Program Files\MATLAB\R2017b\bin\win64\MATLAB.exe 
How do I get the association to the new version? 

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 22 de Sept. de 2021
Editada: MathWorks Support Team el 18 de Ag. de 2021
A File Exchange has been created to automatically handle these file associations.
Please download the file at the following link:
Once downloaded, run the script and then a REG-file will be created. Outside of MATLAB double click on the REG-file to run it. This will fix your associations for MAT and M-files. Please note: This file exchange was created for an earlier version of MATLAB so there may be some inconsistencies.

Más respuestas (0)

Categorías

Más información sobre Software Development Tools en Help Center y File Exchange.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by