toms577, a MATLAB code which evaluates Carlson's elliptic integral functions RC, RD, RF and RJ.
The text of many ACM TOMS algorithms is available online through ACM: https://calgo.acm.org/ or NETLIB: https://www.netlib.org/toms/index.html.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
toms577 is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.
elfun, a MATLAB code which evaluates elliptic integrals and Jacobi elliptic functions cn(), dn(), sn(), by Milan Batista.
elliptic_integral, a MATLAB code which evaluates complete elliptic integrals of first, second and third kind, using Carlson's elliptic integral functions.
test_values, a MATLAB code which supplies test values of various mathematical functions.