Posts

Showing posts with the label MATLAB

Integrating Matlab files w/ other languages

MATLAB provides a compiler which can convert .m files into dll or even C code. MCC  is MATLAB to C/C++ compiler. It can compile m-files to executable files with  exe  or  dll  extension. Consult the following article: MATLAB MEX-files http://www.codeproject.com/samples/mexFunction.asp   Visual Basic can used to call dlls using Declare   Function  matfunname  Lib  "dllname"  Alias  "matfunnameA" (ByVal/ByRef  arg1  As   String, ByVal/ByRef  arg2  As String,...  )  As String syntax. Moreover with the full version of Matlab available from market contained on two cds, the compiler is also available. I hope that above explaination will suffice.