[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Loading variables from file into struct or cell-array
From: |
Jan Albersmeyer |
Subject: |
Loading variables from file into struct or cell-array |
Date: |
Thu, 23 Oct 2008 13:23:19 +0200 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080914) |
Hi !
Is there a way to load variables from a file directly into a struct,
such that e.g. the vars "v1","v2", from the file ... are
stored in memory as "input.v1", "input.v2", ....
Of course without knowing them in advance ;-)
Or is there a possibility to get an array of the strings of the variable
names contained in a file ( i.e. something like a table of contents),
such one can iterate through them ?
Thanks,
Jan
- Loading variables from file into struct or cell-array,
Jan Albersmeyer <=