WriteMode append not working when actually appending?
Afficher commentaires plus anciens
I'm in Matlab R2021a, attempting to output data to an excel spreadsheet. I'm trying the following:
writematrix('outputstring','outputfile.xls','WriteMode','append')
This only works when the file 'outputfile.xls' is empty. If it has anything in it already this error shows up:
Error using writematrix (line 206)
Unable to determine range. Range must be of the form 'A1' (cell), 'A:B' (column-select), '1:5' (row-select),
'A1:B5' (rectangle-select), or a valid named range in the sheet.
I'm trying to output matrices as well as strings but I get this problem whichever data type I use.
Any help appreciated.
Thanks
4 commentaires
Mathieu NOE
le 2 Juil 2021
Hello
can you share the code and data to replicate the issue ?
Adam Johnston
le 2 Juil 2021
Modifié(e) : Adam Johnston
le 2 Juil 2021
Walter Roberson
le 2 Juil 2021
writematrix cannot handle 3d.
Adam Johnston
le 2 Juil 2021
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!