data = dlmread ('idata.LF.txt', '\t', 0, 0, "emptyvalue", NA); assert (data, [3.1 Inf NA; -Inf NaN 128]);