Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^11: Write Matlab binary MAT-files from Perl (repeat)

by BrowserUk (Patriarch)
on Jul 27, 2014 at 10:32 UTC ( [id://1095219]=note: print w/replies, xml ) Need Help??


in reply to Re^10: Write Matlab binary MAT-files from Perl (repeat)
in thread Write Matlab binary MAT-files from Perl

How should I change the format to save the strings in the format matlab needs them...?

As far as I can tell, you shouldn't need to change the format!

The only problem you had was that the with the file in text mode, some numbers produced byte values of 13d/0x0d, which windows text mode then duly added a 10d/0x0a byte. Hence, you were getting an extra byte.

With binmode, the extra character won't be added, and (I assume) the modules existing format will then work.

Otherwise, contact the modules author.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^11: Write Matlab binary MAT-files from Perl (repeat)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1095219]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found