No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.9 | 7 ratings Rate this file 9 Downloads (last 30 days) File Size: 48 KB File ID: #4008 Version: 1.0

MEX-files and MATLAB Compiler



25 Sep 2003 (Updated )

Basic instructions for calling external files and using the MATLAB compiler.

| Watch this File

File Information

Simplified instructions for calling subroutines written in other languages such as FORTRAN. (MEX files) Simplified instructions and hints for using the MATLAB compiler to generate code which can be distributed.

Required Products MATLAB Compiler
MATLAB release MATLAB 6.5 (R13)
Other requirements Compiler for external file language.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
28 Aug 2015 Jerry Gregoire

Great synopsis. May need updating

28 Aug 2015 Jerry Gregoire

Great article. Any thought to updating it to Ver 8.5? There were a lot of changes to the compiler.

Comment only
20 Apr 2010 Fabien Blarel  
08 Dec 2008 Francisco de Castro


07 Dec 2006 Walid Maghroum

Joshua see:

Comment only
04 Nov 2005 Jo Repp

Intuitive, simple and straigthforwardly written.

24 Sep 2005 Kristjan Jonasson  
22 Sep 2005 joshua worby

How do you debug your c code? i.e. I would like to use a debugger like MSVC 6 but I'm not sure to do it. Currently, I'm using printf statements which is painful.

21 Jun 2005 matt fig

If only the Mathworks docs were written this simply, I would have saved a lot of time.

Contact us