你不需要activeX,matlab有内置函数,xlswrite和xlsread:
帮助文件:
xlswrite(filename,A) writes array A to the first worksheet in Excel
file filename, starting at cell A1.
xlswrite(filename,A,sheet) writes to the specified worksheet.
xlswrite(filename,A,range) writes to the rectangular region specified
by range in the first worksheet of the file. Specify range using the
syntax 'C1:C2', where C1 and C2 are two opposing corners that define
the region.
xlswrite(filename,A,sheet,range) writes to the specified sheet and
range.
status = xlswrite(filename,A,sheet,range) returns the completion
status of the write operation: true (logical 1) for success, false
(logical 0) for failure. Inputs sheet and range are optional.
[status,msg] = xlswrite(filename,A,sheet,range) returns any warning or
error message