text/x-matlab
MATLAB file
| Description | MATLAB file |
|---|---|
| File extensions | .m |
| Aliases | text/x-octave |
| Based on | text/plain |
| Signature (magic bytes) | 66 75 6E 63 74 69 6F 6E (function) |
Frequently asked questions
What is the MIME type text/x-matlab?
text/x-matlab denotes “MATLAB file”.
Which file extension does text/x-matlab use?
Files of type text/x-matlab usually end in .m.
How does a web server serve text/x-matlab correctly?
With the header Content-Type: text/x-matlab. In nginx: types { text/x-matlab m; }; in Apache: AddType text/x-matlab .m.
Are there other names for text/x-matlab?
Yes, text/x-octave are used as equivalents.