help-octave
[Top][All Lists]
Advanced

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

exporting arrays to C


From: NZG
Subject: exporting arrays to C
Date: Wed, 10 May 2006 15:40:36 -0500
User-agent: KMail/1.8.3

I've got an 8k array of data in Octave that I need to export as a C matrix to 
make a lookup table.
Currently I'm using "save" in conjunction with a normal text editor "replace" 
to add commas and brackets.
This works ok, but doesn't break the array into multiple lines, it's just one 
huge line, which is harder to break with a "replace".

What's the least painful way to do this?

thx,
NZG 


reply via email to

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