sir is it possible to save into matfile without using for loop....because i want output as.... each time i execute the mainfile and select an image.... i want to append it to the end of matfile....its not selecting 10 images in one execution..... each time i execute i select one image..... is it possible sir.... and sir how to display these images from matfile into a figure.....