how can i automatically save the image after every shot ?
Show older comments
This is my code for the Snapshot button in GUI matlab, it will autosave the image after every shot, but after the shot, it will save only 1 image in my file, with as name 'Image_1'. Now, I want after every shot it saves 1 image with 1 name different, and the name use DateTime(now).
Thank.

Accepted Answer
More Answers (1)
Sulaymon Eshkabilov
on 4 Nov 2021
...
% Edit this part
for ii = 1:10
imgName = [MyFolder, '\ImageReal_', num2str(ii), '.jpg']
end
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!