How do I print a cell array to txt or convert it to a matrix???
조회 수: 4 (최근 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!