in reply to Write Matlab binary MAT-files from Perl

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.)

  • Comment on Re: Write Matlab binary MAT-files from Perl

Replies are listed 'Best First'.
Re^2: Write Matlab binary MAT-files from Perl
by Anonymous Monk on Jul 25, 2014 at 19:02 UTC
    FWIW, Data::MATFile does reading with unpack ... its clues at least :)