[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
load and save in dynamically linked functions
From: |
Thomas Weber |
Subject: |
load and save in dynamically linked functions |
Date: |
Thu, 27 Nov 2003 20:14:45 +0100 |
User-agent: |
Mutt/1.5.4i |
Hi,
I have the following line of code in an .m file:
load ([savename sprintf("%.6f",s) '.dat'], 'DE');
where
- savename = "data"
- s = 1.2345678
so the above line loads the matrix DE from the file data1.234567.dat.
I can't figure out how to do this load-command (and the concatenation)
in an .oct-file. I have tried to do it with feval, but didn't succeed.
Thanks
Thomas
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- load and save in dynamically linked functions,
Thomas Weber <=