El jue, 28-01-2010 a las 12:14 +0100, Riccardo (Jack) Lucchetti
escribió:
On Thu, 28 Jan 2010, Ignacio Diaz-Emparanza wrote:
> I was trying to respond to the question "How to read a matrix from a
> text file" in the gretl wiki. I remembered the command "mread" so,
> having the matrix {1, 2; 3, 4} saved in file Bm.mat in my gretl working
> directory I wrote the script:
>
> <script>
> nulldata 50
> B = mread("Bm.mat")
> B
> </script>
>
> I was surprised obtaining the output "B: matrix is NULL" (BTW this
> string should be marked for translation). Then I looked at this more
> carefully and finally I deduced that "mread" does not work until
> "mwrite" has been used !!
I can't reproduce this behaviour here. Are you using CVS?
Yes. Gretl in Spanish downloaded from current CVS on Ubuntu Linux 9.10
--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.ea3.ehu.es