Loading variables from file into struct or cell-array
Jan Albersmeyer
jan.albersmeyer at iwr.uni-heidelberg.de
Thu Oct 23 06:23:19 CDT 2008
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
More information about the Help-octave
mailing list