I cannot interrupt the display of a very large table with "more on"

1 view (last 30 days)
I work a lot with large tables, so I typically have "more on". I used to be able to interrupt the display of a table with "q", but that doesn't seem to work for tables in Matlab 2020a.
It does, however, work for other things, like "help" pages, I am able to interrupt those; ditto for something very simple like (1:100)'.
Ctrl-C also does not work.
Is there something else I should be doing with tables?
It worked in 2017, haven't tried versions in between.
Thanks!

Answers (1)

Lei Hou
Lei Hou on 31 Aug 2022
Displaying a large table is slow. I agree with you that Ctrl-C doesn't work. I used head(t) / tail(t) to just display the beginning/ending rows of the table. In R2022a, the table display is improved. It might help you.
% In R2022a
>> t = array2table(rand(1000,2))
t =
1000×2 table
Var1 Var2
________ ________
0.74487 0.37961
0.89227 0.31907
0.2426 0.98605
0.1296 0.71818
0.22507 0.41318
0.35001 0.09863
0.28708 0.73456
: :
0.22653 0.64421
0.39801 0.067947
0.69657 0.20791
0.064641 0.039604
0.74766 0.46936
0.4204 0.1501
0.81132 0.99131
Display all 1000 rows.

Categories

Find more on Tables in Help Center and File Exchange

Tags

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!