bugGNU Octave - Bugs: bug #50717, textscan swallows ever growing...

 
 

bug #50717: textscan swallows ever growing part inside for-loops

Submitted by:  Marc Dirix <dirixmjm>
Submitted on:  Tue 04 Apr 2017 03:27:57 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: DuplicateAssigned to: None
Originator Name: Marc DirixOpen/Closed: Closed
Release: 4.2.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 04 Apr 2017 04:54:19 PM UTC, comment #1:

This might be a duplicate of bug #50619. At least the work around from there seems to work for this as well:

Closing as such. Please, report back if there is something more to this report.

Markus Mützel <mmuetzel>
Project Member
Tue 04 Apr 2017 03:27:57 PM UTC, original submission:

I'm using textscan as a line-parser inside a while-loop.
With reading each line the cursor seems to shift an ever more of the next line is swallowed.

Please find attached a minimal example m-file with touchstone datafile.
I have tested the same code in matlab, which works as expected.

Marc Dirix <dirixmjm>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #40263:  P_1_2.s2p added by dirixmjm (364KiB - application/octet-stream)
file #40264:  textscanTest.m added by dirixmjm (275B - text/plain)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mmuetzel (Posted a comment)
  • -unavailable- added by dirixmjm (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 Apr 2017 04:54:19 PM UTCmmuetzelStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #50619
    Tue 04 Apr 2017 03:27:57 PM UTCdirixmjmAttached File-=>Added P_1_2.s2p, #40263
      Attached File-=>Added textscanTest.m, #40264

    Back to the top


    Powered by Savane 3.1-cleanup1