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

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

[Octave-bug-tracker] [bug #41579] HeaderLines parameter in textscan diff


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #41579] HeaderLines parameter in textscan different between Octave and ML
Date: Fri, 25 Mar 2016 20:20:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #6, bug #41579 (project octave):

Now that textscan is a built-in function, the example script in this bug
report no longer works. Can someone please test and see what needs to be
changed in the test script or what is not working compatibly with Matlab now?


>> fid = fopen ("test.txt");
>> t = textscan (fid, "%s%s%s%s%s", 1, "delimiter", "\t", "collectoutput",
1);
>> ftell (fid)
ans =  79
>> fclose (fid);
t{1}
ans = 
{
  [1,1] = year
  [1,2] = day in year
  [1,3] = day in month
  [1,4] = month
  [1,5] = hour
}



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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