Writing cell arrays to Excel
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a 100x1 cell array A that looks like A=[A1; A2; ...; A100 ]. Each row i, in turn, is an
by 4 vector. The first 2 columns of
shows the values of 6 parameters and the remaining 2 columns of A are scalar. So, a typical row in
looks like [{0,2,1,2,3,4} {1,2,1,2,3,1}{0}{4}]. I would like to stack the rows on top of each other and write the cellarray into an excel file. In the final excel file, I should have
row and 4 columns. How can I do this?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291680/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291681/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291682/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291683/image.png)
Thank you for your time.
George
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!