this code is written in the pushbutton callback:
for i=1:4 a=xlsread('abc.xls',i,'A(i)');str=sprintf('%d',a);set(handles.edit1,'string',str);end
But i am getting an error:
Error using ==> xlsread at 285Data range is invalid.Error in ==> sample>pushbutton1_Callback at 82 a=xlsread('abc.xls',i,'A(i)');
I am new to matlab. Please help.
Best Answer