Old Nick
Advanced Member level 1

hi,
I'm writing software to rip data from a camera we designed, I need to take multiple images to manipulate in matlab. I am currently using fprintf to write files which is working fine.
But what I want to do is take 100-1000 frames and write each image to a file, incrementing the name of the file for every image.
Obviously a for loop would be ideal, but how do I have a variable filename in the fprintf statement.
Cheers for any help.
Nick
I'm writing software to rip data from a camera we designed, I need to take multiple images to manipulate in matlab. I am currently using fprintf to write files which is working fine.
But what I want to do is take 100-1000 frames and write each image to a file, incrementing the name of the file for every image.
Obviously a for loop would be ideal, but how do I have a variable filename in the fprintf statement.
Cheers for any help.
Nick