Use cell array
data={frame1,frame2,........}
Frame is an image, you can same multiple frames in cell array. Its very easy to call those frames when it requires
For frame1
data{1} %>> Frame 1
....so on...
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!