How to get Command Window format for existing 'Cell Arrays'
이전 댓글 표시
I have a Cell-array created and i want to get the command window format for that cell-array.
For example: I have created a 5x2 cell array using command line:
MyCell = {'time' , 'timestamp';'posX', {'DePositionX', 'DePositionXmm'};'posY', {'DePositionY', 'DePositionYmm'};'velocityX', 'DeVelocityX';'velocityY', 'DeVelocityY'};
Similarly I have a MxN cell array already created(not by me) and i want to get the structure of that cell in a command window format as shown in the above code. Can you tell me is there any way or commands to get this.
Thanks.
댓글 수: 2
Adam
2016년 11월 9일
What do you mean by "command window format"?
Just type
MyCell
is you want to view it in the command window.
Ganesh Hegade
2016년 11월 9일
채택된 답변
추가 답변 (1개)
Image Analyst
2016년 11월 9일
편집: Image Analyst
2016년 11월 10일
0 개 추천
Not sure what you want but perhaps the whos() function or celldisp() would be what you want.
카테고리
도움말 센터 및 File Exchange에서 Cell Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!