image thumbnail
from export matlab data to excell by Sherif Omran
A simple function to export data to excel. The function writes a CSF text file.

test.m
a=1;
b=2;
c=3;
d=4;
e=5;
f=6;
g=7;

axa=['1' ',' num2str(a) ',' num2str(b) ',' num2str(c) ',' num2str(d) ',' num2str(e) ',' num2str(f) ',' num2str(g)];
ReportGeneratorAdd(axa,'c:\abc.csv')

Contact us at files@mathworks.com