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

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

[Octave-bug-tracker] [bug #35852] fscanf does not read full file


From: anonymous
Subject: [Octave-bug-tracker] [bug #35852] fscanf does not read full file
Date: Thu, 15 Mar 2012 16:46:06 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

URL:
  <http://savannah.gnu.org/bugs/?35852>

                 Summary: fscanf does not read full file
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 15 Mar 2012 04:46:05 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: J Wiebe
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The following code works in version 3.2.4 but fails in version 3.6.0

data = fscanf(fid,'%f',[ncol nodeCount])';

after some header lines the file looks like this:

648075.500000 7781634.500000 -17.139
648076.500000 7781586.500000 -17.43
648076.500000 7781595.500000 -17.552
648076.500000 7781611.500000 -17.575
648077.500000 7781562.500000 -17.785
648077.500000 7781602.500000 -17.421
...

In v3.2.4 it correctly reads the number of rows corresponding to nodeCount,
but in v3.6.0 it craps out at 2716 lines.






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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