To open an M file, select Open from the "HOME" or "EDITOR" tabs, choose the M file, then select Open. Since M files store plain text, you can open them with a text editor, such as Microsoft Notepad (Windows) or Apple TextEdit (Mac), or a source code editor.