Write to Microsoft Excel spreadsheet file using Java
xlwrite(file_path,A)
xlwrite(file_path,A,sheet)
xlwrite(file_path,A,range)
xlwrite(file_path,A,sheet,range)
status = xlwrite(...)
a character string giving the path of the Excel file. If the file does not
exist, xlwrite creates a file, determining the format based on
the specified extension, .xls
or .xlsx
(the default if no extension is given).
Two-dimensional logical, numeric or string matrix or, if each cell contains a single element, a cell array.
an integer giving the sheet position or a character string giving the sheet name. If does not exist, xlwrite adds a new sheet at the end of the worksheet collection.
a character string giving the rectangular range to be writen in the sheet using Excel syntax. If range is larger than the size of A, xlwrite fills the remainder of the region with #N/A. If range is smaller than the size of A, xlwrite writes only the subset that fits into range to the file.
a boolean with value %t
if write opration was
successfull and %f
otherwise.
This function is based on POI library (http://poi.apache.org/).