Write to an Excel-file. If file not excist, the file is created based on user input in the filename(xls, xlsx, xlsm...).
If the sheet not excist, the sheet is created. Range can be given as single cell, and the function calculate what range to write to. Otherwise the absolut range that fits the matrix size must be given in.
Default is that file is on current path, if optional path-values is given file is open outside the path, and created if not excist allready.
Comments are hastly translate an error control is done to some exstent.
Corrected the file so it start Excel if not open. This was not included in the last function.
File to write does not need to be active Excel file, function select correct file.
New upload 03-May-2012
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.