Is there a way to use a loop with MRIwrite such that each subject's output has a different name?

Thanks,
Corinna