How do I print a cell array to txt or convert it to a matrix???
1 次查看(过去 30 天)
显示 更早的评论
I have the following array
val(:,:,1) = [145][2.0101e-09] [-6] [1x1 cfit] [1x1 struct] [0.5170]
... ... ...
val(:,:,100) =[144][6.0301e-09][0][1x1 cfit] [1x1 struct][0.6009]
How can I print this array to txt file or convert it to a matrix???
Thanks
2 个评论
Jan
2013-5-29
I cannot imagine, what the code should mean. Could you please valid Matlab syntax? "[1x1 struct]" needs to be specifically explained, before it can be answered, how it can be written to a file.
采纳的回答
Brent
2013-5-29
If your structures are numerical you can use the RESHAPE function with a third dimension of 1.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!