Info

This question is closed. Reopen it to edit or answer.

Reading from many columns of an excel sheet

1 view (last 30 days)
Unnikrishnan PC
Unnikrishnan PC on 25 Nov 2011
Closed: MATLAB Answer Bot on 20 Aug 2021
I tried xlsread() but it does not work.I am passing A to a function which will process the data. Please help
A = xlsread('C:\File.xls','Marks','A1:D10'); [rows cols] = size(A); for m = 1:rows for n = 1:cols B(m,n)=A(m,n); B(m,n)= Grades(A(m,n)); end end xlswrite('C:\File.xls',B,'Grades','A1:D10');

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!