Does MATLAB use Perl for Regexp?

3 views (last 30 days)
John on 28 Sep 2014
Answered: Geoff Hayes on 28 Sep 2014
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.

Accepted Answer

Geoff Hayes
Geoff Hayes on 28 Sep 2014
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.

More Answers (0)



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by