Click the "Select File" button above, and choose your MEX file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert MEX to another file type
To convert MEX files to another format, you need MATLAB or other Developer software.
Convert a file to MEX
To convert other file formats to the "Application Script or Executable" file type, you need software like MATLAB or a similar tool.
About MEX files
A .mex file can represent several distinct proprietary formats depending on the creating software. Most commonly, it is a technical analysis indicator formula used by Matriks Trader to automate financial analysis. It is also widely used as a macro automation script by Macro Express to simulate keystrokes and mouse movements. Engineers and researchers often encounter .mex files as MATLAB executable functions, which are dynamically linked subroutines compiled from C, C++, or Fortran code. Furthermore, hardware developers use it as an XML-based MCU configuration project file for the NXP MCUXpresso IDE.
The primary issue with .mex files is their extreme fragmentation and proprietary nature. A Matriks trading script cannot be opened in MATLAB, and a Macro Express script is useless to an NXP developer. Most .mex files are strictly bound to their parent software and require specialized, sometimes expensive, tools to read. MATLAB executables, for instance, are compiled binary files native to a specific operating system architecture, making them impossible to read as plain text or convert directly into standard source code.
Because of this fragmentation, standard online converters fail to process .mex files. They lack a universal structure. If you need to read the contents, you generally must use the original software. For XML-based .mex files (like NXP projects) or text-based scripts, changing the extension to TXT or XML might allow you to view the raw code. For binary types like MATLAB executables or Finnish Matriculation ZIP archives, conversion to a standard document format is impossible without recompiling the original source code or extracting the internal assets. If our analysis detects a supported underlying text or archive format, viewing or extracting the data may still be possible.
Convert.Guru analyzes your MEX file, detects the exact format, and lets you read the text inside.
If you want to convert MEX file to CDN, CAN, US, CSV, JSON, XML, YAML, YML, TOML, INI, CFG or CONF, you can use MATLAB or similar software from the "Scripts, Macros & Executables" category. In the File menu, look for Save As… or Export….
To convert DBF, XML, SQLITE, XLSX, SQL, TSV, ACCDB, YAML, MDB, CSV, ODS or JSON files to MEX, try MATLAB or another comparable tool in the "Scripts, Macros & Executables" category.
The MEX Converter Story
The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our MEX converter.