[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
loading a file using a variable name
From: |
oxyopes |
Subject: |
loading a file using a variable name |
Date: |
Thu, 12 Jul 2007 17:14:19 +0200 |
hi friends,
i would like to load a file in octave, which name is given
by a variable, like:
datfile = 'xxx.dat'
load datfile
And to load a file with variables set in it like:
var1=100;
var2=200;
the load command gives an error. Command fopens runs,
but then the variables are no loaded, i do not konw how to do that.
I know executing the filename works, but if the filename is given
by a variable, then i do not know how to execute it.
Any idea?
Thanks in advance ...
- loading a file using a variable name,
oxyopes <=
- Re: loading a file using a variable name, David Bateman, 2007/07/12
- Re: loading a file using a variable name, Ben Abbott, 2007/07/12
- Message not available
- Re: loading a file using a variable name, oxyopes, 2007/07/12
- Re: loading a file using a variable name, oxyopes, 2007/07/12
- Re: loading a file using a variable name, oxyopes, 2007/07/12
- Re: loading a file using a variable name, Søren Hauberg, 2007/07/12
- Re: loading a file using a variable name, Quentin Spencer, 2007/07/12
- Re: loading a file using a variable name, James Sherman Jr., 2007/07/12
- Re: loading a file using a variable name, James Sherman Jr., 2007/07/12
- Re: loading a file using a variable name, oxyopes, 2007/07/12