Preallocate array to store images from camera
    4 views (last 30 days)
  
       Show older comments
    
I'm controlling a camera to take images in a while loop that ends when I hit a UI button. That means I don't know how many frames I will take when I turn the camera on. I want to save the images into a cell array, but how can I preallocate the array if I don't know the size? Would saving individual frames as a .jpeg into a folder be faster?
3 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

