Hello everyone. I using the function 'dir' to access the names of the certain files in a folder. I then looping through them and organizing them in descending order and storing the ordered file names in a cell array. Now the next thing I wanting to do, is to read them using 'imread' and loop through the them to do some calculations.
The question is, how can I be using the function 'imread' on these file names without right clicking the folder, and clicking 'Add to Path'? Is there a simple function that does that for you?
Currently, I got the error saying 'Error using imread (line 349) File "lundimage00000.tif" does not exist'
Thank you all in the advanced.