On Mon, Jan 19, 2009 at 10:02 PM, muka <
avova@...> wrote:
>
> Hi,
>
> I would like to split my program into two files, automatically generated
> data arrays(generated
> with perl) and the actual code. How can this be done?
>
> Ideally I would like to have something like
> "#include data.octave"
> in the code.
>
>
>
"source" is the equivalent to #include. But, if the perl generated
part is really only data (no code),
I suggest you consider generating data directly in Octave's ASCII
format and then load them using "load".
That will probably be much faster than sourcing a script.
cheers
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave