[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility |
Date: |
Fri, 18 Mar 2016 19:04:34 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 |
URL:
<http://savannah.gnu.org/bugs/?47458>
Summary: textscan.cc Matlab incompatibility
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Fri 18 Mar 2016 08:04:33 PM CET
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
With new textscan.cc in dev:
>> textscan (['Empty' char(10)], 'Empty%f %f')
ans =
{
[1,1] = [](0x1)
[1,2] = [](0x1)
}
Expected is {NaN, NaN}.
Adding any digit goes some way in the right direction:
>> textscan (['Empty1' char(10)], 'Empty%f %f')
ans =
{
[1,1] = 1
[1,2] = NaN
}
Matlab r2016a prerelease gives:
+verbatim-
>> format compact
>> U = textscan (['Empty' char(10)], 'Empty%f %f')
U =
[NaN] [NaN]
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47458>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility, Mike Miller, 2016/03/19
- [Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility, Lachlan Andrew, 2016/03/20
- [Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility, Lachlan Andrew, 2016/03/20
- [Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility, Mike Miller, 2016/03/21
- [Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility, Lachlan Andrew, 2016/03/22
- [Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility, Philip Nienhuis, 2016/03/22
- [Octave-bug-tracker] [bug #47458] textscan.cc Matlab incompatibility, Philip Nienhuis, 2016/03/25