Click here to Skip to main content
15,912,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
helllo,
i am a novice user of matlab and i tried to do following program for reading multiple images(near about 300 images) now what i want to do is i want to store these images immidiatly after reading it to some location by some name as g1,g2,g3........so is this possible to do this in a loop reading please help me......
regards...


close all;
clear all;
clc;
for i=1:5
m=imread(['C:\Users\shree\Desktop\1\im' num2str(i) '.jpg'])
figure,imshow(m);
end
Posted
Comments
Legor 7-Mar-14 3:09am    
Do you mean to store (write) the image to your harddrive or store it in a temporary variable (in your workspace).
Member 10650279 7-Mar-14 8:18am    
actually i want to store these images as veribles because i want to process these further..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900