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 your MEX file to another format, you need Matriks Trader or other Developer software.
Convert a file to MEX
To convert other file formats to the "Script / Executable" file type, you need software like Matriks Trader or a similar tool.
About MEX files
The .mex extension is a notorious chaotic collision of file formats, most frequently serving as a proprietary technical analysis script for Matriks Trader. In this financial context, the file stores custom indicator formulas or trading strategies. However, in the engineering world, a .MEX file is a MATLAB Executable - a compiled binary file (essentially a renamed DLL on Windows) that allows MATLAB to run C, C++, or Fortran code. Legacy users might also encounter .mex files as automation scripts from Macro Express.
The primary struggle with this format is identifying which software created it. Attempting to open a MATLAB binary in a text editor results in unreadable garbage characters, while Matriks scripts are locked inside a niche trading ecosystem. Users often need to convert these files to readable TXT or XML to audit the underlying code, backup trading strategies, or migrate macros to modern tools. For Matriks and Macro Express files, converting to Plain Text is the best path for archiving and viewing logic. For MATLAB files, conversion is rarely possible as they are compiled machine code; however, identifying their platform origin (Windows vs. Linux) is critical for troubleshooting.
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 Matriks Trader or similar software from the "Technical Analysis Script" 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 Matriks Trader or another comparable tool in the "Technical Analysis Script" 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.