|
From: | Matt Flax |
Subject: | Re: reconstructing m files from octave_function |
Date: | Mon, 10 Dec 2012 21:08:40 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Yes, the XY problem, allow me to be
more specific.
I am writing code in C++. I have an m file which is a function and I want to change variable settings in the function and write it back to an m file. For example I want to parse y.m (below) using the inbuilt octave C++ parser and I want to set z. and save the file back in the same form, possibly with a different name. ======= begin y.m ============ function x=y z.> for i=1:z.one x= someOtherFunction(i); % do something end end ========= end y.m ============ thanks again Matt On 10/12/12 20:24, Júlio Hoffimann wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |