How to get Command Window format for existing 'Cell Arrays'
Show older comments
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 Comments
Adam
on 9 Nov 2016
What do you mean by "command window format"?
Just type
MyCell
is you want to view it in the command window.
Ganesh Hegade
on 9 Nov 2016
Accepted Answer
More Answers (1)
Image Analyst
on 9 Nov 2016
Edited: Image Analyst
on 10 Nov 2016
0 votes
Not sure what you want but perhaps the whos() function or celldisp() would be what you want.
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!