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

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

[Octave-bug-tracker] [bug #37961] textscan : whitespace specification do


From: anonymous
Subject: [Octave-bug-tracker] [bug #37961] textscan : whitespace specification doesn't work
Date: Wed, 19 Dec 2012 18:25:59 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0

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

                 Summary: textscan : whitespace specification doesn't work
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 19 Dec 2012 06:25:57 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: maf88_
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello,

The file i want to parse :
XQPCTick;Tag
1552111181823;G8  Throw
1552327767233;G8  Throw
1552570758808;G8  Throw
1552819036603;G8  Throw
1553037382424;G8  Throw
1553238114161;G8  Throw
1553456459982;G8  Throw
1553687128680;G8  Throw
1553905469514;G8  Throw
1554100925005;G8  Throw

The function I use
 
A=textscan(fid,'%s;%s', 'Whitespace', ';');

And the error I get:

 
The error i get : 
 
fmt = 
{
  [1,1] = %s;
  [1,2] = %s
}
`whitespace' undefined near line 114 column 37
error: called from `textscan' in file
/usr/local/share/octave/3.6.3/m/io/textscan.m near line 114, column 21
error: called from:
error:   /usr/local/share/octave/3.6.3/m/miscellaneous/run.m at line 55,
column 7



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 19 Dec 2012 06:25:57 PM UTC  Name: load_tagstream.m  Size: 1kB   By:
None
The code (not mine though).
<http://savannah.gnu.org/bugs/download.php?file_id=27127>
-------------------------------------------------------
Date: Wed 19 Dec 2012 06:25:57 PM UTC  Name: P3_2_8_p29.csv  Size: 987kB   By:
None
The code (not mine though).
<http://savannah.gnu.org/bugs/download.php?file_id=27128>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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