File Extension Library


.M File Extension

  • Developer by: Apple
  • Category: Developer Files
  • Format: Text

What is an .M file?

.M file extension is created by Apple. .M has been classified as Developer Files. The format of .M file is Text.

.M is Objective-C Implementation File

An M file is a class implementation file used by programs written in Objective-C. It begins with the @implementation directive and initializes variables and functions that can be referenced by other Objective-C source files. M files may also reference header (.H) files.

Objective-C is most commonly used to implement applications for Apple's Mac OS X and iOS operating systems. Apple's Cocoa API provides the Objective-C programming interface for Mac OS X, and the iOS API provides the programming interface for the iOS platform.

List of all softwares that can open the Objective-C Implementation File
Windows
Richardson EditRocket
jEdit
gVim
Mac
Apple Xcode
Bare Bones BBEdit
MacroMates TextMate
Richardson EditRocket
jEdit
MacVim
GNU Compiler Collection (GCC)
Linux
Richardson EditRocket
jEdit
Vim
GNU Compiler Collection (GCC)
File Type 2 MATLAB Source Code File
Developer by: The MathWorks Category: Developer Files Format: Text

An M file is a text file used by MATLAB, an application used for mathematical computations. It can store a script, class, or an individual function in the MATLAB language. M files are used for executing algorithms, plotting graphs, and performing other mathematical operations.

List of all softwares that can open the MATLAB Source Code File
Windows
The MathWorks MATLAB
Notepad++
Mac
The MathWorks MATLAB
Linux
The MathWorks MATLAB
File Type 3 Mercury Source Code File
Developer by: The Mercury Project Category: Developer Files Format: Text

Source code file written using Mercury, a functional programming language that was developed at the University of Melbourne, Australia; saved using plain text formatting and uses syntax similar to Prolog.

Mercury was written in order to provide a robust language for large real world applications. It includes several error-checking features not provided by other logic programming languages. For example, the language incorporates static analysis that can catch type checking errors before runtime. This enables greater assurance over the correctness of the program and also allows the compiler to generate more efficient code. However, the developer must specify each of the "type," "mode," and "determinism" constructs while programming, which is not necessarily required by other languages.

NOTE: The developmental version of the Mercury compiler is currently distributed in a source code format and does not include compiler binaries. However, a Windows port of Mercury, called winmercury, includes binaries. It also includes Vim syntax highlighting files for source code editing.

List of all softwares that can open the Mercury Source Code File
Windows
winmercury
gVim
Microsoft Notepad
Linux
Mercury Compiler
GNU Emacs
Beaver
Vim
File Type 4 Mathematica Input File
Developer by: Wolfram Research Category: Data Files Format: Text

Contains functions or a set of instructions used by the Mathematica, a program for creating and running mathematical functions; saved in a text format, which can be viewed and edited with a basic text editor.

Files named "init.m" are initialization files that contain settings that are loaded when the Mathematica program is opened.

List of all softwares that can open the Mathematica Input File
Windows
Wolfram Research Mathematica
Microsoft Notepad
Notepad++
Mac
Wolfram Research Mathematica
Apple TextEdit
Linux
Wolfram Research Mathematica
gedit
Leafpad
File Type 5 PC-98 Game Music File
Category: Audio Files

Sound file format used by Japanese PC-98 computers and emulators; contains synthesizer music that can be used as instruments to create songs; referenced in order to know what music to play.

NOTE: In order to play M files with FMPMD2000, you need to download the WinFMP.dll and PMDWin.dll files, which are available from the same location.

List of all softwares that can open the PC-98 Game Music File
Windows
FMPMD2000

How to Open .M file on different platforms

Open .M File on Windows

  • Right-click a .M
  • Left-click "Open With" > "Choose another app"
  • Select the program that opens .M file and Select check box "Always use this app to open .M files" Press "Ok"

Open .M File on Mac

  • Right-click (or Ctrl + Left-click) the .M file
  • Click "Open With" > "Other.."
  • Then choose another program from the app list and press "Open"
  • Select check box "Turn on" for "Always open in app"

Open .M File on Linux

Right click on the .M file, choose "Open with" and select a program from the list above

Open .M File on iPhone

Select a file. If you don't see an application to open the .M file, tap "Share" and choose the right app.
Method 2
Save the file. Then open the app «Files». Touch and hold the file, then release your finger. You will see a black menu bar. After that tap "Share" and select an application.

Open .M File on Android

Tap the Settings icon on an Android smartphone, then select «Applications». Click the Settings icon in the upper right corner of the screen, to change the default apps.
If you want to open, edit, save or even convert .M files on Android, then your best bet is to download one of the dedicated apps available on Google Play.

How to fix problems with .M files

  1. You need to update the application that you normally use to open .M files. Only the latest version of the software supports the current .M file format
  2. You need to check the .M file for viruses. To do this, you need to scan it with a popular antivirus (Norton, Nod32, Kaspersky, Dr.Web, etc.)