bugGNU Octave - Bugs: bug #36392, Textscan should return empty cell...

 
 

bug #36392: Textscan should return empty cell array if no data read

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Thu 03 May 2012 10:12:26 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  philipnienhuis
Originator Name:  Alexander Graf Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 22 Jun 2012 05:23:20 PM UTC, comment #1: 
Philip Nienhuis <philipnienhuis>
Group Member
Thu 03 May 2012 10:12:26 PM UTC, original submission:  

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.

Philip Nienhuis <philipnienhuis>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by philipnienhuis (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-22 philipnienhuis StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code