How do I expand fields of a structure?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello everyone, I have a 1x21 structure with 9 fields. Each fields is a "nx2 double" or "nx1 double". Opening the structure, if n<=5 I can read the numbers of each fields, but for 6x2 double or greater I have to do a click on the field to read numbers. How can i read all veriables without open the field?
댓글 수: 2
Stephen23
2016년 2월 25일
Why do you want to do this? How do you want MATLAB to display a 1000000x2 matrix?
채택된 답변
Stephen23
2016년 2월 25일
Here are some possibilities:
- display the numeric matrix in the command window, and copy it from there.
- write your data to an excel file.
- write your own display routine.
댓글 수: 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!