Hey Sven,
I think the semicolons are just there for suppressing the output.
Artur
Am 20.04.2012 21:16, schrieb Sven Schreiber:
Not sure if it's a valid comment (since the error message sounds
different), but don't you have to put semicolons at the end of lines in
Octave? (which you didn't do, as a good gretl/hansl coder...)
-sven
On 04/20/2012 08:49 PM, Artur Tarassow wrote:
> Hey,
>
> I want to load two separate matrices into Octave. It seems that I can
> only load in one matrix at once and work with it.
>
> <hansl>
> foreign language=Octave
> A = gretl_loadmat("A.mat")
> B = gretl_loadmat("B.mat")
> end foreign
> <hansl>
>
>
> So the following example would not work and the error message I get is:
>
> ---------
> octave exited with status 256IR_nairu1_RC =
>
> error: fscanf: invalid stream number = -1
> error: called from:
> error: gretl_loadmat at line 16, column 10
> error: /home/artur/.gretl/gretltmp.m at line 3, column 12
> ---------
>
> Is it intended that one can load only one matrix at once? It doesn't
> seem plausible since Octave can handle several matrices, of course.
>
> Best,
> Artur
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
>
http://lists.wfu.edu/mailman/listinfo/gretl-users
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users