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

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

[Octave-bug-tracker] [bug #36392] Textscan should return empty cell arra


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #36392] Textscan should return empty cell array if no data read
Date: Thu, 03 May 2012 22:12:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

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

                 Summary: Textscan should return empty cell array if no data
read
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Fri May  4 00:12:26 2012
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: In Progress
             Assigned to: philipnienhuis
         Originator Name: Alexander Graf
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Curently textscan.m returns an empty numeric scalar ( []0x0 ) if no data were
read.

ML seems to return a cell array of empty cells with size (1,
<nr_of_format_specifiers>):
{
  [1,1] = [](0x0)
  [1,2] = [](0x0)
  [1,3] = [](0x0)
}

The fix is ready, will be combined with that of bug #36356.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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