Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When Matlab creates a binary file with extension .mat on my Windows 7 (64 bit) computer, Windows declares it in a directory as a „Microsoft Office Access Table Shortcut“. In spite of the fact that Matlab recognizes it properly, such declaration of a normal binary file as a shortcut makes me trouble in handling of files. Please, how can I assign Matlab instead of Microsoft Office Access as default program for .mat files?

share|improve this question

migrated from Jul 7 '11 at 15:08

This question came from our site for system and network administrators.

Start->Default Programs->Associate a file type or protocol with a program.

share|improve this answer

Right click an example file.

Choose 'Open With' on the menu then 'Choose Program'.

In the new window, choose MatLab & click the "Always use the selected program to open this kind of file" and click 'Open'.

The program should now be associated..

share|improve this answer

There's an official utility function from MathWorks that is included in MATLAB itself that will fix this issue. See this MathWorks technical support solution for details.

share|improve this answer
That's no utility function, it's a checklist for using Windows Explorer to change the file association. – Ben Voigt Aug 8 '14 at 21:29
@BenVoigt Looks like they've changed the content of that page since I linked to it. The utility function always used to just do basically the same things that other answers have suggested, in any case. – Sam Roberts Aug 11 '14 at 9:42

In Windows 7, go to control panel, Default Programs, Associate a file type with a specific program

This should give you a list of file extensions and their associated applications. Select the .mat extension, then click change program (button at upper right) and browse to select the 'matlab' executable.

Here's the MS ref

share|improve this answer

You must log in to answer this question.