Hello i have a file path which is this '\\psf\Home\Documents\MATLAB\silhouettes\1\00_1' This points to a set of images that i need to add to matlab which works fine. what i need to happen is that when this code is run it changes the one to a two so it would look like this '\\psf\Home\Documents\MATLAB\silhouettes\2\00_1' and then change to three and four etc, i have been told i can use sprintf to do this but cannot see a way to make it work, i don't suppose any out there has any sprintf knowledge who could help me out?
thanks Rob
Best Answer