can you please tell me about the MATLAB mex function is it JAVA or C/C++ or FORTRAN?
15 ビュー (過去 30 日間)
古いコメントを表示
Can you please tell me about the MATLAB mex function is it JAVA or C/C++ or
FORTRAN? regards
Emad
0 件のコメント
回答 (1 件)
Jason Ross
2012 年 11 月 5 日
What Are MEX-Files?
You can call your own C, C++, or Fortran subroutines from the MATLAB command line as if they were built-in functions. These programs, called binary MEX-files, are dynamically-linked subroutines that the MATLAB interpreter loads and executes. MEX stands for "MATLAB executable."
More information here:
2 件のコメント
Walter Roberson
2012 年 11 月 5 日
The question might be, "Which programming language is the command 'mex' itself implemented in?" If so then the answer is mex.m is a MATLAB routine that invokes another MATLAB routine which invokes a command script at the shell level. The shell script invokes a variety of utility routines and eventually invokes the system compiler that has been configured via "mex -setup".
Jason Ross
2012 年 11 月 5 日
That is also a correct answer ... although the original question could likely do with some elaboration.
参考
カテゴリ
Help Center および File Exchange で Fortran with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!