naming filename in loops

Hi,

i need help in writing my program. i need to name my files inside a loop and save them in the end.

this is roughly what i want as output:
filename =

'file1' 'file2' 'file3'

This is what i wrote in my program:

for i=1:3
filename={'file',(i)}
end

and it returns

filename =

'file' [1]


filename =

'file' [2]


filename =

'file' [3]

Do anyone have any idea how to do it?
thank you! =)

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion