We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 17648

3.1 System Generator for DSP - Why does the xlpbsmble.pl Perl script fail with error 'glob failed'?


Keywords: matlab, perl, glob, sysgen, xlpbsmble

Urgency: Standard

General Description:
MATLAB appears to uses Win32 Perl, which does not support the glob function. The general error received is:

"'perlglob' is not recognized as an internal or external command, operable program
or batch file. glob failed (child exited with status 1) at xlpbsmble.pl line 228."



The "xlpbsmble.pl" Perl script converts a ".psm" file (a program containing instructions for the Pico Blaze) into assembly code. The work-around for this is to use xilperl, which is provided in ISE. An example command line should look similar to this:

!xilperl c:/MATLAB/toolbox/xilinx/sysgen/scripts/xlpbsmble.pl -p <my_path>/file.psm

! in matlab


You can also add the MATLAB Perl, which contains perlglob, to your Windows Path.

Perlglob can be found in "$MATLABR13\sys\perl\win32\bin". You will need to replace the "$MATLABR13" with the install path to MATLAB for your machine.
AR# 17648
Date 06/24/2004
Status Archive
Type General Article