[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: content of binary files stored by save
From: |
Francesco Potorti` |
Subject: |
Re: content of binary files stored by save |
Date: |
Mon, 22 Sep 2008 14:30:56 +0200 |
>Does anybody know if file content can be listed?
>I mean, once I saved a file with "save" command,
>I want to know what variables are stored in it.
>For example:
>
>a=2;
>b=4;
octave> save -binary context.dat a b
octave> fieldnames(load("context.dat"))
ans =
{
[1,1] = a
[2,1] = b
}
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/