Save data in excel
Afficher commentaires plus anciens
Hello I am new to matlab and would like your help. I have a program that reads the file. Mat. When I read that file to transform vector data matrix and so I need to save it in excel. But I have 50 files. Mat and need to save all vectors one after another in excel so they become a single vector in excel. I greatly appreciate any help.
8 commentaires
Image Analyst
le 15 Déc 2013
I don't understand what the sentence "Mat." means, nor do I understand what the sentence that starts out "Mat and need to save...." means. Please clarify.
If you need to deal with 50 Excel workbooks you will need to use ActiveX unless you are okay with waiting a very very long time for it to finish. Let me know and I can give you an ActiveX demo.
Jadiel Silva
le 15 Déc 2013
Azzi Abdelmalek
le 15 Déc 2013
Modifié(e) : Azzi Abdelmalek
le 15 Déc 2013
What are the sizes of your vectors? Maybe you can concatenate them, then save your data once
Jadiel Silva
le 15 Déc 2013
Azzi Abdelmalek
le 15 Déc 2013
Why do you want to save a 500x500 array as a 250000 vectors, and if you have 50 files, does that mean you want to save a 5*250000 vector?
Jadiel Silva
le 15 Déc 2013
Image Analyst
le 16 Déc 2013
Can Excel handle 12.5 million rows? If it can, I agree with Azzi, just concatenate them all in MATLAB, then call xlswrite() just once with the 12.5 million element vector.
Azzi Abdelmalek
le 16 Déc 2013
Modifié(e) : Azzi Abdelmalek
le 16 Déc 2013
I don't think Excell can handle 12.5 millions rows.It's better to save each matrix in different sheet
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Import from MATLAB 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!