Which version of Perl is built into MATLAB? perl.m

6 vues (au cours des 30 derniers jours)
Matlab2010
Matlab2010 le 8 Oct 2013
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 http://www.mathworks.co.uk/help/matlab/ref/perl.html
As I understand it, the language varies between version and vendor and if code is run on windows or linux. Which version of Perl is included in matlab? Who is the vendor?

Réponse acceptée

Friedrich
Friedrich le 8 Oct 2013
Modifié(e) : Friedrich le 8 Oct 2013
Hi,
simply call it and find it out. On Windows:
>> system(['"',fullfile(matlabroot, 'sys\perl\win32\bin\perl.exe'),'" -version'])
This is perl, v5.8.9 built for MSWin32-x86-multi-thread
(with 12 registered patches, see perl -V for more detail)
Copyright 1987-2008, Larry Wall
Binary build 827 [291969] provided by ActiveState http://www.ActiveState.com
Built Jan 26 2010 21:15:51
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Plus de réponses (1)

Sean de Wolski
Sean de Wolski le 8 Oct 2013
Modifié(e) : Sean de Wolski le 8 Oct 2013
From looking inside of perl, i.e. edit perl
On Windows, MATLAB uses its own Perl interpreter and this is located here (13b at least):
perlCmd = fullfile(matlabroot, 'sys\perl\win32\bin\');
So opening and viewing these files in the Windows Explorer, you can right click on them and look at the properties for your installation which include details.
winopen(perlCmd)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by