in reply to Re^9: Write Matlab binary MAT-files from Perl (repeat)
in thread Write Matlab binary MAT-files from Perl
Thank you both very much for your comments!
Tye,
my Perl version is:
perl 5, version 12, subversion 2 (v5.12.2) built for MSWin32-x64-multi-thread
The second format you gave me didn't work either...
It creates a file matlab refuses to load.
Here is the comparison between this file and the expected one (created by matlab for reference):
http://srv1.jpg.co.il/10/53d36c18b62cc.jpg
BrowserUK,
My strings are "simple" ones (not packed with 'Z*') and the command Tye wrote worked in converting the string to array of ascii numbers.
Re: Tye called it above with binmode; your addition is unnecessary and wrong.
I don't understand what you mean... How should I change the format to save the strings in the format matlab needs them...?
Thanks,
Koby
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: Write Matlab binary MAT-files from Perl (repeat)
by BrowserUk (Patriarch) on Jul 27, 2014 at 10:32 UTC |