octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51741] zlib error when loading .mat file on W


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51741] zlib error when loading .mat file on Windows 10 64bit
Date: Wed, 16 Aug 2017 21:15:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #8, bug #51741 (project octave):

This is a wild guess, but please make sure that you do not have another copy
of the file somewhere on Octave's load path. Most Octave functions, including
fileread and load, will find a file by name on the load path, so you may not
be trying to use the copy of the file that you think you are. Or use the
absolute path to be sure.

As long as that's not the simple solution, it looks like you're on the right
path of debugging this. You may want to look at the size of the buffer that
fileread returns, make sure it's the right number of bytes. Or try reading the
file with fread in increasing blocks and see if you can figure out where it
goes wrong, if there is some size threshold or a particular byte that is
interpreted badly by Octave for some reason.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51741>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]