PyTables is an efficient way of doing it (http://www.pytables.org). You
essentially write data to a HDF5 file, which is portable and can be read
in Matlab or in a C program (using the HDF5 library).
Gabriel
On Tue, 2008-05-20 at 09:32 -0400, Gary Pajer wrote:
> I want to store data in a way that can be read by a C or Matlab program.
>> Not too much data, not too complicated: a dozen or so floats, a few
> integers, a few strings, and a (3, x) numpy array where typically 500
> < x < 30000.
>> I was about to create my own format for storage when it occurred to me
> that I might want to use XML or some other standard format. Like
> JSON, perhaps. Can anyone comment, esp relating to numpy
> implementation issues, or offer suggestions?
>> Thanks,
> Gary
> _______________________________________________
> Numpy-discussion mailing list
>Numpy-discussion@scipy.org>http://projects.scipy.org/mailman/listinfo/numpy-discussion