<< COM_xlsread | COM engine | actxGetRunningSrv >> |
COM_xlswrite(filename, v) |
COM_xlswrite(filename, v, sheet) |
COM_xlswrite(filename, v, range) |
COM_xlswrite(filename, v, sheet, range) |
status = COM_xlswrite(filename, v) |
status = COM_xlswrite(filename, v, sheet) |
status = COM_xlswrite(filename, v, range) |
status = COM_xlswrite(filename, v, sheet, range) |
[status, msg] = COM_xlswrite(filename, v) |
[status, msg] = COM_xlswrite(filename, v, sheet) |
[status, msg] = COM_xlswrite(filename, v, range) |
[status, msg] = COM_xlswrite(filename, v, sheet, range) |
a string: a full filename path.
a string, cell, matrix: values to save.
an integer or a string: sheet id or sheet name
an string: an range xx:xx
a logical: true if save.
a string: '' if no error or an error message.
COM_xlswrite Writes Microsoft Excel spreadsheet file using COM.
Inf is converted by Excel as 65535.
COM_xlswrite([tempdir(), 'example_xlswrite_1.xlsx'], rand(3, 3))
data = {'Time', 'Temp'; 12 98; 13 99; Inf 97};
s = COM_xlswrite([tempdir(), 'example_xlswrite_2.xlsx'], data, 'Temperatures');
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET