Explorer

Whenever I open a MAT-tệp tin outside of MATLAB, it opens with Microsoft Access. I would lượt thích to associate MAT-files with MATLAB.

You watching: Explorer


*

This behavior occurs after installing Microsoft Office. The .mat extension becomes associated with Microsoft Access if you vì chưng not deselect this option during Access installation.
If you are using Microsoft Windows 10, you can restore the file associations with the following steps:
2. In the ‘Control Panel’, clichồng on "Programs" section, then on the next page, clichồng "Default Programs"
3. Click on "Associate a file type or protocol with a program" then scroll down and cliông xã on "Choose default apps by file type"
4. On the next page, you will see a danh mục of tệp tin extensions with their associated default programs. Find the MAT tệp tin extension then click on either the plus sign or the current associated application to lớn its right.
If you are using Microsoft Windows Vista or 7, you can restore the tệp tin associations with the following steps:
3a. If the Control Panel view is mix khổng lồ "View by: Category" in the top right, navigate to: Programs > Default Programs >Associate a tệp tin type or protocol with a program
3b. If the Control Panel view is mix khổng lồ "View by: Small icons" or "View by: Large icons" in the top right, navigate to: Default Programs >Associate a file type or protocol with a program
6. Select MATLAB. If MATLAB is not listed in the program danh sách, click on "Browse" then search for the MATLAB application, which is located in the MATLABROOT folder. On a Windows machine, this is usually C:Program FilesMATLABR20* where R20* is the version of MATLAB.
5. After making this change, you will be able to use the "Change" button on the File Types dialog khổng lồ make further changes such as selecting a specific MATLAB release.
*

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_274786


*

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_589163


In the computerhope link given at the bottom of the first bình luận, it says to find the .exe pháo tệp tin within the program files và open that one.
matlab.exe pháo is in the bin file, which is directly inside the R2017b folder. After clicking on it, matlab opened, but did not appear khổng lồ also open my .mat file (the matlab window was blank), so I closed the window and the program.
After doing this, however, I now have MATLAB in my danh sách of alternate programs in my "open with" danh sách, so it should open my mat files when I select it.
Unfortunately, "should" is the operative term here. Whenever I try lớn open a .mat file with matlab now, it gives me the same blank window I got the first time I clicked the .exe pháo file. I will update again if I can fix that.
Update: I have sầu not figured out how to lớn fix it, but I figured out a workaround that involved opening up multiple instances of MATLAB. My goal was lớn see the same workspace at different points throughout the program to compare the two. If that happens lớn be your goal as well, that"s another way to lớn bởi vì it.
*

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_608918


I am having a similar problem using Windows 10. Though when I browse lớn the MatLab.exe tệp tin lớn change the association, nothing changes. It"s still stuông xã on Access.

See more: Cách Tính Phần Trăm Trên Excel Chi Tiết, Có Ví Dụ, Cách Tính Tỷ Lệ Phần Trăm Trong Excel


*

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_730899


lưu ý that the twrising.com Support Team answer for Windows 10 does not work. For example, there is no Programs in Control Panel. I see a differently-named sequence of steps. Nor is there any "xuất hiện with..." option that some people meantioned. What you need khổng lồ vì chưng is:
Left-cliông xã the Start button and left-cliông xã the gear to bring up Control Panel.Left-cliông xã on the Apps inhỏ (not Programs, which doesn"t exist on my computer)On the left hvà panel, left-clichồng "Default apps"Scroll down a bit past some icons and cliông chồng on the xanh text "Choose mặc định apps by file type"If you"re lucky, you"ll see something like FIgure 1 below. In that case cliông xã on the Access ibé and then select MATLAB from the menu of apps that appears. If you"re not lucky, then you"ll see figure 2 below và you will have no opportunity khổng lồ select MATLAB.
Note: Figure 2 is from a computer that has had the MATLAB Runtime Library installed (MCRInstaller.exe), but not the MATLAB development environment.

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_758405


I had the same problem và there was no MATLAB option in the default program thực đơn. To solve this, try to lớn rename the *mat file (you don"t see the extension) và put an extension in the name - I renamed it to lớn demo.mat. after renaming, when you double clichồng on the tệp tin or right click, now you have the option to lớn choose another program. Matlab.exe pháo is the .../MATLAB/bin thư mục. when you are done, the extensions appear và the icon changes to matlab ibé. Now you"ll see chạy thử.mat.mat whcich you can rename it again và delete the last .mat.

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_795003


https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_1461266


I am having the same problem. My .mat files are associated with Access which I can"t uninstall as it"s part of the Microsoft package (I"m using a lab computer). Matlab is not recognized in the mặc định apps section (only options are Access or something from the App store) as it is a third tiệc nhỏ program. There is no "open with" option on the .mat files but even if there was, I have no idea which thư mục I am lớn navigate to lớn (when I go khổng lồ C:Program FilesMATLABR2017b, I don"t know what khổng lồ choose). Any help would be greatly appreciated!!!!

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_551269


i am also suffering from the same problem.. we dont have a change program option also.. then how to change the mặc định tiện ích !!

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_589165


Hey MMRB và NAVTHA SAI, I don"t know if you"re still looking for a solution, but I have sầu made a little progress. See my comment on twrising.com Support Team"s answer above.
Edit: direct link to my comment: https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_589163
For Miscrosoft Office 2010, after you open your folder with access files, select one of them và just cliông xã on the arrow next lớn Microsoft Access inhỏ on the top và choose Matlab as the default program - worked for me.

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_816471


I have sầu Office 365 and Windows 7. I"ve remix my mặc định program lớn MATLAB a few days ago, but Office hijacked the .MAT files again. I have sầu to assume this occurs during an Office Update installation.
I vì chưng everything what it says but it did not work. Can anyone please help me? I use R2018b. Should i uninstall it và install R2020a? Do you think it wil work?

https://www.twrising.com/matlabcentral/answers/103000-why-have-all-my-mat-files-become-associated-with-microsoft-access#comment_816641


I have sầu given up on this. As best I can tell, Microsoft resets .MAT files with every Office Update that gets installed. It"s annoying, but it is what it is. The only effect is when I"m looking at files in a folder, và the filetype is displayed incorrectly. Microsoft defeated twrising.com in this petty squabble.
You need to lớn go lớn the registry (start -> run -> regedit) and go to ComputerHKEY_LOCAL_MACHINESOFTWAREClassesAccess.Shortcut.Table.1

Community Treasure Hunt

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

Start Hunting!

An Error Occurred

Unable khổng lồ complete the action because of changes made to lớn the page. Reload the page khổng lồ see its updated state.


Select a Web Site

Choose a web site lớn get translated content where available & see local events and offers. Based on your location, we recommover that you select: .

Select website site

How lớn Get Best Site Performance

Select the Đài Loan Trung Quốc site (in Chinese or English) for best site performance. Other twrising.com country sites are not optimized for visits from your location.

See more: Ngày 12/12 Là Ngày Gì Và Có Ý Nghĩa Như Thế Nào Với Người Trung Quốc?


twrising.com

Accelerating the pace of engineering & science

twrising.com is the leading developer of mathematical computing software for engineers & scientists.