Which computer programming language are MATLAB R2015b and R2016b written in?
이전 댓글 표시
Which computer programming language are MATLAB R2015b and R2016b written in?
답변 (2개)
James Tursa
2016년 4월 20일
편집: James Tursa
2016년 4월 20일
5 개 추천
Java for the interface, C++ for computational library stuff, and some 3rd party libraries for some of the matrix algebra BLAS and LAPACK stuff. The BLAS and LAPACK libraries use a Fortran function/subroutine interface (e.g., see www.netlib.org) but are probably written in C/C++ or assembly.
And, some of the supplied functions are written in ... MATLAB.
Matlab is mainly written in Java (interface etc). Many of the operations are written in C or C++. The matrix stuff is based on some pretty old Fortran I think. https://en.wikipedia.org/wiki/MATLAB
댓글 수: 4
Walter Roberson
2016년 4월 20일
It would not be C#, as that relies too heavily on .NET
Meade
2016년 4월 20일
True! I mis-typed.
Tyler Shepard
2017년 9월 21일
I believe the matrix math is based on BLAS which has routines written in assembly specified for x84 and AMD64 processors. The rest is written in C(++) and Java, for back end computations, and symbolic algebra objects (object oriented programming).
Walter Roberson
2017년 9월 21일
MATLAB calls LAPACK and BLAS https://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html
BLAS has a couple of different implementations. For Windows it is included with LAPACK http://www.netlib.org/blas/
MATLAB is also known to call upon Intel's MKL https://www.mathworks.com/matlabcentral/answers/71553-amd-vs-intel-mkl-dll-vs-acml-dll-and-blas-spec-help . The official description https://software.intel.com/en-us/mkl does not say what language MKL is written in; Wikipedia says C/C++ and Fortran.
카테고리
도움말 센터 및 File Exchange에서 Deploy to C++ Applications Using mwArray API (C++03)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!