File Extension/M
alphabetical list of extensions

File extension .M

File description

Files with the M extension are ‘implementation’ or source code files for the Objective-C programming language. Objective-C is an object-oriented language used in Apple OS X and iOS operating systems. Objective-C is a language meant to provide backwards-compatibility between the OS X and iOS predecessor language and C.

In object-oriented programming languages, implementations files contain the code for the methods of a class. ‘M’ may stand for ‘methods’ or ‘messages’. ‘Messages’ could be the meaning since Objective-C is based on message-passing to object instances. The system of passing messages to object instances may reduce errors at runtime.

Description of the problem
If you have on your computer a .M file that you cannot open, you are in exactly the same situation as thousands of other people who have similar problems with this or any other unknown file.

There may be several reasons why you cannot open the file with .M extension. Directly on this website you can find a solution of the most common problem with the .M file – that you do not have on your computer the appropriate program to open the file.
Solution
From the list below, select the appropriate program, install it and double click on the icon of a file that did not want to open - the problem with the .M file extension should be solved. However, if this does not happen, go back to the website to learn about other possible causes of the error, which have been described at the bottom of the website.
Category
Developer Files
Developer
Apple
Popularity
StarStarStarStarStar
File name: Objective-C Implementation File
Programs that will open this file:
Windows
Windows
gVim gVim
Mac OS
Mac OS
BBEdit BBEdit
jEdit jEdit
MacVim MacVim
TextMate TextMate
Xcode Xcode
Linux
Linux
EditRocket EditRocket
jEdit jEdit
Stepstone compiler Stepstone compiler
Vim Vim
Category
Data Files
Developer
Wolfram Research
Popularity
StarStarStarStar
File name: Mathematica Input File
Programs that will open this file:
Windows
Windows
Notepad Notepad
Notepad++ Notepad++
Text editor Text editor
Wolfram Research Mathematica Wolfram Research Mathematica
Mac OS
Mac OS
Apple TextEdit Apple TextEdit
Text editor Text editor
Wolfram Research Mathematica Wolfram Research Mathematica
Linux
Linux
gedit gedit
Leafpad Leafpad
Text editor Text editor
Wolfram Research Mathematica Wolfram Research Mathematica
Category
Developer Files
Developer
The MathWorks
Popularity
StarStarStarStar
File name: MATLAB Source Code File
Programs that will open this file:
Windows
Windows
MATLAB MATLAB
Notepad++ Notepad++
Mac OS
Mac OS
MATLAB MATLAB
Linux
Linux
MATLAB MATLAB
Category
Developer Files
Developer
The Mercury Project
Popularity
StarStar
File name: Mercury Source Code File
Programs that will open this file:
Windows
Windows
gVim gVim
Notepad Notepad
Text editor Text editor
winmercury winmercury
Linux
Linux
Beaver Beaver
GNU Emacs GNU Emacs
Mercury compiler Mercury compiler
Text editor Text editor
Vim Vim
Remember!
The .M file extension can correspond to several not related file formats. If there is more than one file format with the .M extension, you will probably find most of them at this website. Remember that you need to download a program to support a particular file type. So first look through the entire contents of the website to select a program to support just the file you have.

Other possible reasons why your .M file does not want to open

In addition to the problem described above, i.e. the lack of the appropriate application to support the .M file, there may be several reasons that cause problems with opening and operation of the data format:

1. Incorrect version of the installed application

A quite common problem is the lack of application in the appropriate version. Even if you have an application, with the help of which you should open the .M file, you may have a problem with it because of its version. Perhaps in previous versions the application has not yet supported the .M file, so download the update and check again.

2. Incorrect .M file association with the program

If you have already installed the appropriate application, and it is the correct version, the file may not open correctly, because the operating system does not have information that this program supports the file. So you need to "show" which program the computer should use. To do this:

  • Right-click the .M file
  • Go to the "Open with" - then "Choose default program ..."
  • Locate the appropriate application
  • Click "OK"

3. The file is corrupt

It also happens that the file you want to open is corrupt and therefore there is no such possibility. In this situation, you should find its different version, or ask a person from whom you got, to send it again.