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

6 Ansichten (letzte 30 Tage)
Matlab2010
Matlab2010 am 8 Okt. 2013
Bearbeitet: Sean de Wolski am 8 Okt. 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?

Akzeptierte Antwort

Friedrich
Friedrich am 8 Okt. 2013
Bearbeitet: Friedrich am 8 Okt. 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.

Weitere Antworten (1)

Sean de Wolski
Sean de Wolski am 8 Okt. 2013
Bearbeitet: Sean de Wolski am 8 Okt. 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)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by