How to show a whole table in Matlab variable window
14 views (last 30 days)
Show older comments
Hi,
When I make a large table and try to view it in the variable view window in the Matlab UI, instead of seeing all the values and variable names I just see a summary of the size of the table. Is there any way to view the whole table in some other way, or to extend the number of columns shown?
Thanks for any help,
R.
% Here you can see the whole table:
x = rand(10,10);
y = array2table(x);
% Here you will get a summary:
x = rand(10,10000);
y = array2table(x);
2 Comments
A. Sawas
on 9 Apr 2019
Variables editor:
"The contents of a table are only visible and modifiable when the number of variables is fewer than 5000. When the number of variables equals or exceeds 5000, you can only view the table properties."
It seems this is a rigid limitation in the Variables Editor in Matlab. Why not to save the table as csv format and view it using Excel ?
Answers (1)
Neuropragmatist
on 10 Apr 2019
4 Comments
Peter Perkins
on 12 Apr 2019
Metioche, I'm not sure I've made myself clear.
In my previous post, take a close look at t2 and t. t2 is not an "edge case" of t, it is a completely different kind of table. I understood your question to mean, "I have a cell array in my table that contains other arrays. Why does the Variable Editor behave differently for this edge case?"
But it's not an edge case. But perhaps I have misunderstood your question.
See Also
Categories
Find more on Matrix Indexing 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!