MATLAB Answers

Which computer programming language are MATLAB R2015b and R2016b written in?

202 views (last 30 days)
Yin Shi
Yin Shi on 20 Apr 2016
Commented: Walter Roberson on 21 Sep 2017
Which computer programming language are MATLAB R2015b and R2016b written in?

  0 Comments

Sign in to comment.

Answers (2)

James Tursa
James Tursa on 20 Apr 2016
Edited: James Tursa on 20 Apr 2016
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.

  0 Comments

Sign in to comment.


Meade
Meade on 20 Apr 2016
Edited: Stephen Cobeldick on 21 Apr 2016
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 Comments

Show 1 older comment
Tyler Shepard
Tyler Shepard on 21 Sep 2017
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
Walter Roberson on 21 Sep 2017
LAPACK is written in Fortran . http://www.netlib.org/lapack/
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.

Sign in to comment.

Sign in to answer this question.