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

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

[Octave-bug-tracker] [bug #54622] test importdata fails in dev octave wi


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #54622] test importdata fails in dev octave with windows
Date: Thu, 6 Sep 2018 08:33:21 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134

Follow-up Comment #4, bug #54622 (project octave):



>> A = [3.1 Inf NA; -Inf NaN 128];
>>  fn  = tempname ();
>>  fid = fopen (fn, "w");
>>  fputs (fid, "3.1\tInf\tNA\n-Inf\tNaN\t128");
>>  fclose (fid);
>>  [a,d,h] = importdata (fn, '\t');
>>  unlink (fn);
>> A
A =

     3.1000        Inf         NA
       -Inf        NaN   128.0000

>> a
a =

  scalar structure containing the fields:

    data =

         3.1000         NA         NA
             NA         NA   128.0000

    textdata =
    {
      [1,1] = Inf
      [2,1] = -Inf
      [3,1] = NaN
    }


>> d
d =
>> h
h = 0
>>


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54622>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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