excel sheet with 5rows & 10 columns
1 view (last 30 days)
David Sanchez on 17 Jun 2013
Did you type help xlswrite in the command window?
The documentation in matlab help is very useful too.
The example shows how to put data into the cells:
%Select the appropriate range
ran = h.Activesheet.get('Range',range);
%write the data to the range
ran.value = data;
You can add borders around the cells; here are a couple of examples:
ran.Borders.Item('xlEdgeBottom').LineStyle = 1;
ran.Borders.Item('xlEdgeLeft').Weight = 3;