bugGNU Octave - Bugs: bug #33538, fread does not support 'bitn',...


bug #33538: fread does not support 'bitn', 'ubitn' formats

Submitter:  Arnaud Delorme <arnodelorme>
Submitted:  Sat 11 Jun 2011 03:44:15 PM UTC
Category:  Interpreter Severity:  2 - Minor
Priority:  3 - Low Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 21 Jul 2015 07:05:15 PM UTC, comment #4: 

Certainly there is interest.  The debugging should start in libinterp/corefcn/file-io.cc.  There you will find the DEFUN for fread.  This calls out to do_fread() and I think that's where you should start hunting for a solution.

Rik <rik5>
Group administrator
Tue 21 Jul 2015 05:53:51 PM UTC, comment #3: 

Is there still interest in this topic ? I've met the
inability of GNU/Octave to perform a ubit1 fread (which
works in Matlab) ... am willing to have a look at it if no
one has so far.

jean michel friedt <jmfriedt>
Wed 13 Mar 2013 03:43:23 PM UTC, comment #2: 

Changing the Item Group to "Matlab Compatibility".

An easy workaround for the 'bit24' option is 'int24' which is supported.

Rik <rik5>
Group administrator
Mon 13 Jun 2011 03:30:23 AM UTC, comment #1: 

Re-titled to more accurately summarize issue.

Rik <rik5>
Group administrator
Sat 11 Jun 2011 03:44:15 PM UTC, original submission:  

fread using 'bit24' is not recognized under Octave

Arnaud Delorme <arnodelorme>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by jmfriedt (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by arnodelorme (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.


    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-31 mtmiller Release3.4.0 dev
    2015-07-21 rik5 Operating SystemMac OS Any
    2013-03-13 rik5 CategoryNone Interpreter
        Severity3 - Normal 2 - Minor
        Item GroupIncorrect Result Matlab Compatibility
    2011-08-11 jwe Dependencies- bugs #33991 is dependent
    2011-06-13 rik5 Priority5 - Normal 3 - Low
        StatusNone Confirmed
        Summaryfread Matlab compatibility issue fread does not support 'bitn', 'ubitn' formats

    Back to the top

    Powered by Savane 3.12