|
From: | David Grundberg |
Subject: | Re: Reaing configuration parameters In Octave |
Date: | Fri, 04 Jun 2010 08:16:43 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
On 06/03/2010 07:16 PM, Ian Journeaux wrote:
I was wondering what the recommended process would be for reading configuration parameters in a script would be? In the past In other environments I have used .ini files to specify these parameters but haven't figured out how to accomplish this in Octave.
If I have a function that takes a lot of parameters, and I got tired typing the call, I'd just write a script to do it. Much easier than implementing some serialization.
To answer your question, I think I'd go for load'ing and save'ing a simple struct. I don't think Octave have any ini-file reading.
David
[Prev in Thread] | Current Thread | [Next in Thread] |