필터 지우기
필터 지우기

save image sequencely

조회 수: 1 (최근 30일)
Izzo
Izzo 2011년 10월 22일
guys, do you know how to save image sequencely in matlab? i know how to save an image to a folder for example img is the image then this is the code:
imwrite(img,'My Documents\f1.jpg');
for example i have saved one image named='f1.jpg' into the folder, if i execute the program again and want to save another image, do you guys know how to name it into 'f2.jpg' and so on (f3.jpg if f2.jpg already existed)? so it wont replace the existing image?
thank you!

채택된 답변

Walter Roberson
Walter Roberson 2011년 10월 22일

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by