help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave text format


From: c.
Subject: Re: octave text format
Date: Fri, 24 Jan 2014 21:30:43 +0100

On 24 Jan 2014, at 12:07, Martin Strympl <address@hidden> wrote:

> Hello.
> 
> For my work, I want to generate Octave’s text data format file. I want to 
> bring some data to octave and use octave to calculate something with them. It 
> will be around tens of Mega Bytes. But I have data in different format and I 
> have been working on tool for conversion.
> 
> I have looked at Octave’s text data format, and it looks simple.
> 
> My question is, is there any documentation of Octave’s text data format, 
> which can I use?
> Or how complicated is to use Octave C++ api to create matrix and cell 
> variables and save them to file?
> 
> I have checked doxygen documentation and some headers of Octave, but for me, 
> it looks little complicated to create octave text file with using function 
> do_save from load-save.cc file. It looks there are much hidden thing.
> 
> Thanks for answer.
> 
> Martin Strympl

Rather than try to rewrite code to produce files in Octave format, 
why don't you just use Octave itself to write your files?

Here's an example about how to do that from either C / C++ or Fortran:

 http://wiki.octave.org/Fortran#C.2B.2B_function

If your files are very big you can change it to use binary format instead
by changing on code line only.

c.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]