
618 Accelerating MATLAB
®
Performance
xlswrite1(filename, tableHeaders, 'Sheet1','A6');
for row = 1 : 10
xlswrite1(fileName,someFunc(1,4),'Sheet1',sprintf('A%d',6+row));
end
% Close the workbook and the Excel process
Excel.Quit;
Excel.delete;
clear Excel
Similar utilities exist for fast update of PowerPoint (*.ppt) les.
1747
In PowerPoint and
other Microsoft Ofce les (e.g., *.doc), the standard way of accessing the le is via actx-
server, where the techniques presented above (for Excel) are directly applicable.
Using the COM server handle directly can be very powerful, enabling MATLAB pro-
grams to format data (colors, fonts, borders, s ...