Inserting figures into excel file from matlab
Inserting figures into excel file from matlab
(OP)
I have been trying to insert figures into an already existing Excel file that are generated in Matlab. A utility in COM server does that (an example is there in Help section of Matlab) but it inserts the figure into a brand new file. does anybody know how to insert it into an existing excel file?
Thanks
Thanks





RE: Inserting figures into excel file from matlab
kk=actxserver('excel.application')
% kk.get % this will show all properties
kkmbs=kk.Workbooks
% kkmbs.invoke % this will show all methods
kkmbs.Open('c:\myoldfile.xls')
% myoldfile.xls is a previously created excell file
% now you can work with kkmbs
- hope it helps...
NoQue