write excel xml file on any platform
writeXmlExcel(filename, M [, titleDocument [, authorDocument]]
output filename
Matrix of type integer, string, boolean or real.
worksheet Name, default 'Sheet1'.
author document, default ''.
Writes data to an Excel xml file (2003) on any platform. compatible with excel and OOo calc.
M = eye(4,4); writeXmlExcel(TMPDIR + "/eye_matrix.xml", M); M = [%nan, -%inf; 1, %inf]; writeXmlExcel(TMPDIR + "/naninf_matrix.xml", M); M = ['Hello' 'writeXmlExcel'; 'Allan CORNET', '2010']; writeXmlExcel(TMPDIR + "/string_matrix.xml", M); M = [%t, %f; %f, %t]; writeXmlExcel(TMPDIR + "/boolean_matrix.xml", M); | ![]() | ![]() |