I have tried to write: [A]=xlsread('prove.xlsx','15x5_003','A3:A3603'); [B]=xlsread('prove.xlsx','15x5_003','B3:B3603'); plot(A,B)
but i need to do this many time for many worksheets,so I have proved with a for loop,but without success function cnr1 for i=0:5 [A]=xlsread('prove.xlsx','15x5_003+i','A3:A3603'); [B]=xlsread('prove.xlsx','15x5_003+i','B3:B3603'); plot(A,B) end