Save data in excel
显示 更早的评论
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 个评论
Image Analyst
2013-12-15
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
2013-12-15
Azzi Abdelmalek
2013-12-15
编辑:Azzi Abdelmalek
2013-12-15
What are the sizes of your vectors? Maybe you can concatenate them, then save your data once
Jadiel Silva
2013-12-15
Azzi Abdelmalek
2013-12-15
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
2013-12-15
Image Analyst
2013-12-16
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
2013-12-16
编辑:Azzi Abdelmalek
2013-12-16
I don't think Excell can handle 12.5 millions rows.It's better to save each matrix in different sheet
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!