Exporting data to CSV file
58 次查看(过去 30 天)
显示 更早的评论
Hi Friends, I am getting my output in CSV file as follow:
export(output,'file', char(qtrOutput),'Delimiter',',');
It has about 88000 rows.
My program works fine when i test it with small data say 200 rows. But when i run with my actual data which results into 88000 rows, it gets stalled on above mentioned code.
Now I thought may be i have too many rows but i waited like 10 minutes and it still does not come out. I go and open output file where I am writing in while program is still stalled , it has all the data.
I fail to figure why?
Please help and let me know what more info u need
3 个评论
ES
2013-12-31
you could use dlmwrite or csvwrite or xlswrite instead. ActiveX server is even faster!!!
采纳的回答
更多回答(1 个)
AMITH P C
2017-11-22
How to convert .mat file into csv file
1 个评论
Mohammad Farhad Aryan
2020-3-10
Use the following code.
load('filename.mat');
writematrix(filename, 'newfilename.csv');
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!