In Matlab, a command such as
fname = 'foo';
save fname var1
will store var1 in fname.mat as against the desired foo.mat
A solution to this would be to issues the following two commands
foos = sprintf('save %s var1','foo');
eval(foos)
will save var1 in foo.mat
Showing posts with label Matlab. Show all posts
Showing posts with label Matlab. Show all posts
Friday, October 27, 2006
Subscribe to:
Posts (Atom)