MATLAB: Does MATLAB use Perl for Regexp

MATLABperl

I notice that the sys folder of the MATLAB 2014a root installation contains a Perl runtime. Is this Perl runtime used by MATLAB to execute the MATLAB regexp functions? What is it used for? Just curious.

Best Answer

John - you can run Perl scripts via the perl function. From this link,
perl('perlfile') calls the Perl script perlfile, using the appropriate operating system Perl executable. Perl is included with the MATLAB® software on Microsoft® Windows® systems, and thus MATLAB users can run user-created MATLAB functions containing the perl function. On Linux® and Macintosh systems, MATLAB calls the Perl interpreter available with the operating system.