Export to existing excel file in same sheet
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
My code calculates two required outputs which I can export it to a excel file. After this, I change some values in the code above to get new values. I would like to save the new values to the same old existing file,each time I run the code with new values. Is there any way to perform this?
1 commentaire
Bob Thompson
le 1 Mar 2018
I'm assuming you're using the xlswrite() command. If you don't change anything about the output file directory or name it should just overwrite the old data with new data. If you specify a sheet and range as well it will definitely overwrite the old data.
Réponses (1)
Tony Mohan Varghese
le 20 Mar 2018
Please refer to the examples on: https://in.mathworks.com/help/matlab/import_export/exporting-to-excel-spreadsheets.html
0 commentaires
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!