I can not figer out how to give to function "save" the name of file that is stored in variable. This is my code, but it does not work. Can anyone help?
flist = [
'cheb0306_pL1.xml';...
'cheb0506_pL1.xml';...
'cheb0511_pL1.xml';...
]
for i=1:size(flist,1)
.....
save -text eval('flist(i,:)') X covX
.....
end