[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unexpected textscan error
From: |
Ben Abbott |
Subject: |
unexpected textscan error |
Date: |
Sat, 08 Oct 2011 18:03:17 -0400 |
I don't know what change may have resulted in this test error, or if it is
something specific to my build or MacOS.
When I run "test strread", I see ...
test strread
***** test
# No delimiters at all besides EOL. Plain reading numbers & strings
str = "Text1Text2Text\nText398Text4Text\nText57Text";
c = textscan (str, "Text%dText%1sText");
assert (c{1}, int32 ([1; 398; 57]));
assert (c{2}(1:2), {'2'; '4'});
assert (isempty (c{2}{3}), true);
!!!!! test failed
some elements undefined in return list
Directly from the command line I see ...
str = "Text1Text2Text\nText398Text4Text\nText57Text";
c = textscan (str, "Text%dText%1sText")
error: some elements undefined in return list
error: called from:
error: /Users/bpabbott/Development/mercurial/default/scripts/io/textscan.m at
line 221, column 11
Does anyone else see this?
Ben
- unexpected textscan error,
Ben Abbott <=