I have never used the 'pack' function, and the help from the link below is hard to follow:
http://perldoc.perl.org/functions/pack.html
I couldn't find a match there for the 'l5Z*d*' format the routine above uses...
Take a look at perlpacktut.
(No experience with Matlab, sorry. CPAN has no modules for writing MAT files either, apparently; maybe someone should create one.)
In reply to Re: Write Matlab binary MAT-files from Perl
by AppleFritter
in thread Write Matlab binary MAT-files from Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |