(
Jump to the original submission)
Mon 07 Nov 2016 11:49:45 PM UTC, comment #6:
I fixed the failing BIST test here (http://hg.savannah.gnu.org/hgweb/octave/rev/6f111a0f32c3).
In addition, now that audioread is available I extended importdata to all importing sound files (http://hg.savannah.gnu.org/hgweb/octave/rev/44d9d526d1e3).
|
Mon 07 Nov 2016 09:57:29 PM UTC, comment #5:
With that fix I now get (octave-4.3.0+):
|
Mon 07 Nov 2016 04:07:24 PM UTC, comment #4:
Good. I made the change to use NaN here (http://hg.savannah.gnu.org/hgweb/octave/rev/2cc35915bdc0).
Fixed, closing report.
|
Mon 07 Nov 2016 06:43:29 AM UTC, comment #3:
With Matlab 2015a
So the correcr fix is to replace NA by NaN
|
Mon 07 Nov 2016 12:51:01 AM UTC, comment #2:
Since importdata is a Matlab function, we should try and be compatible. Can somone run in Matlab and see what it uses for an empty value?
|
Sun 06 Nov 2016 09:39:32 PM UTC, comment #1:
This problem is caused probably by changeset http://hg.savannah.gnu.org/hgweb/octave/rev/a93887d7f0da which
fix a bug in dlmread to Use EmptyValue option correctly.
Now that EmptyValue is used correctly, the lines
cause NA to be written in the empty place, and that causes the error.
The NA can be replaced by 0, and then you get
1 2
1 0
or by NaN, and then you get
1 2
1 NaN
but you do not get an error.
|
Sun 06 Nov 2016 03:54:50 PM UTC, original submission:
For a textfile data.txt containing the lines:
the command importdata("data.log"," ") crashes in current dev:
while until few days ago (and in 4.0) it used to worked like:
This breaks a lot of scripts.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.