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

6 visualizaciones (últimos 30 días)
Matlab2010
Matlab2010 el 8 de Oct. de 2013
Editada: Sean de Wolski el 8 de Oct. de 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?

Respuesta aceptada

Friedrich
Friedrich el 8 de Oct. de 2013
Editada: Friedrich el 8 de Oct. de 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.

Más respuestas (1)

Sean de Wolski
Sean de Wolski el 8 de Oct. de 2013
Editada: Sean de Wolski el 8 de Oct. de 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)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by