Mex-Files are used to include C-files or Fortran-files into Matlab. A nutshell will be placed around your original code, which makes Matlab to access the data structures of your original coding. Afterwards you have to compile it using the Matlab mexCompiler, which leads in a DLL file. This file may be used within Matlab. The compiler is based either on the matlab lcc compiler or on any of your c/fortran compilers. Using "mex -setup" will configure your compilers. As it would be too exhausting to explain the whole theory of Mex-Files, please take a look at the manual "MATLAB Appilcation Program Interface Guide", which can also be downloaded from www.mathworks.com. Regards, Gerhard "Sajal Kumar" An: <> Kopie: Blindkopie: Thema: [matlab] linking of C, C++ ,VB 08.07.01 07:47 GMT routines into matlab I would like to know the procedure for using matlab as a front-end and C,C++ as the back end for my applications. Please send me info regarding this. |
Antwort: linking of C, C++ ,VB routines into matlab
Started by ●July 9, 2001