- #1
Salam
- 2
- 0
Matlab " Missing Matlab operator"
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
but i am getting the following error
Homework Statement
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)
cur=imread('salam(' int2str(counter) ').jpg');
counter=counter+1;
end
but i am getting the following error
Code:
? cur=imread('salam(' int2str(counter) ').jpg');
|
Error: Missing MATLAB operator.
Last edited: