Using csvwrite() function for a matrix having multiple rows and columns??

would I be able to use csvwrite() function to copy a output matrix containing aroung 100 rows and 30 columns?

回答(1 个)

A=randi(10,100,30)
csvwrite('file.csv',A)

2 个评论

so csvwrite() would work just like xlswrite() for any number of rows and columns?
No, not any number of rows and columns, it depends on the limits of Excell, and the limits of Matlab,

请先登录,再进行评论。

标签

提问:

ck
2016-7-12

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by