help-octave
[Top][All Lists]
Advanced

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

Re: constructing variable names from strings


From: Joao Rodrigues
Subject: Re: constructing variable names from strings
Date: Thu, 18 Jun 2015 18:48:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

eval and strcat will do the trick.

On 18-06-15 16:54, D Peter Siddons wrote:
Is it possible to build a variable name from strings? I'd like to batch-process a lot of data. The data is held in directories identified by the dataset number, with Octave variable names built (by a C program) from the dataset number. I then need to loop through these directories to perform more processing, loading the data and saving processed data based on the dataset ID. I need to have the variables uniquely identified with the dataset because I need to have multiple datasets in memory simultaneously.


_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave




reply via email to

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