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

7 次查看(过去 30 天)
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?

采纳的回答

Friedrich
Friedrich 2013-10-8
编辑:Friedrich 2013-10-8
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.

更多回答(1 个)

Sean de Wolski
Sean de Wolski 2013-10-8
编辑:Sean de Wolski 2013-10-8
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)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by