On Wed, 18 Dec 2019, Stefano wrote:
It looks like it is a local problem. I just tested the minimal
working
example
<hansl>
x = ones(nrows,2)
mwrite(x,"test.txt")
xx=mread("test.txt")
mwrite(x,"test.csv")
xx=mread("test.csv")
<\hansl>
Please try using the ".mat" extension for native gretl matrix files.
If you use ".txt" or ".csv" gretl can get confused over whether it
should be looking for a leader line holding number of rows and
number of columns, or just dive into reading matrix elements.
Originally the filename extension didn't matter; mread() always
expected the leader line. But in 2019b this changed: ".txt" and
".csv" now suggest to mread() that there's no leader line -- so not
a native gretl matrix file. The intent here was to allow more
flexibility in reading third-party files.
Allin