i am not able to read a file which has been recently been written using imwrite function

i used imwrite function to write a sequence of images in a directory(or folder). later in the program i am reading the images recently written from the folder for comparison purpose. when i try to read the image using imread function it gives an error saying unable to read train1.tif image(the recently written image is train1.tif).

2 Comments

for e.g,. you would have wrote 5 images. trying to call the first image. try to call the last image.. if it works, then its a problem on the loop part.
i think you are the rakesh. my fb friend. am i right?

Answers (0)

This question is closed.

Asked:

on 31 Dec 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!