## Matlab " Missing Matlab operator"

1. The problem statement, all variables and given/known data

i am new to matlab, i am trying to read many images named , salam(1).jpg, salam(2).jpg,...,salam(n).jpg, and i am trying to put that in the imread function as shown in the code below

Code:
counter =1;
while (counter<5)
counter=counter+1;
end
but i am getting the following error

Code:
???         cur=imread('salam(' int2str(counter) ').jpg');
|
Error: Missing MATLAB operator.
 PhysOrg.com science news on PhysOrg.com >> Galaxies fed by funnels of fuel>> The better to see you with: Scientists build record-setting metamaterial flat lens>> Google eyes emerging markets networks
 The problem is that imread is expecting a single string parameter. You need to concatenate the components of the file name, by wrapping them in square brackets: cur=imread(['salam(' int2str(counter) ').jpg']); -Will Dwinnell Data Mining in MATLAB
 Thank you very much Predictor, it is working now :)