Get Matlab R2019b as default program to open .m files on Windows 7
4 views (last 30 days)
Show older comments
Since I have installed R2019b on my Windows 7, .m files have stopped being automatically associated with Matlab.
When i click "Open With" I can't find Matlab in the list of suggested programs.
I have tried browsing for it and selecting the MATLAB application in the folder C:\Program Files\MATLAB\R2019b\bin\win64 but that does not work.
Can anyone help me re-associate Matlab to .m and .mat files?
Thank you.
2 Comments
Rik
on 29 Nov 2019
In the open with dialog box you need to check the box that says always use this program. Did you do that? Can you provide screenshots of the steps you took?
Accepted Answer
Rik
on 29 Nov 2019
You can select the 'matlab.exe' file in the folder below:
C:\Program Files\MATLAB\R2019b\bin\win64
That should make it show up in the selector and work as intended.
It is possible that this will result in a new Matlab window opening every time you open a file from explorer. The only general solution I know for that issue is re-installing Matlab (without a silent installer), which should solve all file association issue.
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!