Uri Barkan
2007-07-19 16:17:40 UTC
Hi everyone,
I'm a newbie to Octave. I've tried to save a variable as a text file,
because I use the file as an input to a program written in C. When I
used:
save("-text", "var.txt", "var");
I got the following header in var.txt:
# Created by Octave 2.1.73, Thu Jul 19 18:40:02 2007 IDT
<***@localhost>
# name: var
# type: matrix
# rows: 1
# columns: 40
Of course I can't use the file this way. How can I save the variable
to a text file without the header?
Thanks!
I'm a newbie to Octave. I've tried to save a variable as a text file,
because I use the file as an input to a program written in C. When I
used:
save("-text", "var.txt", "var");
I got the following header in var.txt:
# Created by Octave 2.1.73, Thu Jul 19 18:40:02 2007 IDT
<***@localhost>
# name: var
# type: matrix
# rows: 1
# columns: 40
Of course I can't use the file this way. How can I save the variable
to a text file without the header?
Thanks!