Matlab "more" command: "q" doesn't always quit

According to the help for "more", pressing "q" should stop the pager. It doesn't always work, when paging through:
more on
Tvarns = array2table( randi(100,200,2) , ...
'VariableNames',{'PROJECT' 'VARIANT' })
rowfun( @(x) size(x,1), ...
unique( Tvarns(:,{'PROJECT' 'VARIANT'}) ) , ...
'Grouping','PROJECT' , 'Input','VARIANT' )
% Input can be any column, since we just take size(x,1)
In Matlab 2019a, is there anything that one can do to break the paging?

5 Kommentare

weikang zhao
weikang zhao am 12 Mär. 2021
ctrl+c
FM
FM am 12 Mär. 2021
Does that work for you? For the above command, it doesn't work for me. And the "more" help page advises against doing so anyway. If it worked, however, I would probably use it (though the best solution would be proper quitting of "more").
Jon Lubbers
Jon Lubbers am 8 Jul. 2022
I have the same problem. "Q", ctrl+c, and the space bar all perform the same function. No key can end it. The only way is to page through to the end of the array, or kill Matlab completely.
Ileana
Ileana am 21 Okt. 2022
I have the same issue and it is really annoying. How do we fix this?
FM
FM am 21 Okt. 2022
I just tried this on Matlab 2022a. Same problem. In order to see the problem, you have to invoke the pager by clicking "Display all NNN rows", where NNN is the number of rows in the output.
\If you don't do that, you just see the first and last few rows of the table being displayed. This doesn't exercise the pager and won't reveal the pager problem.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

FM
am 11 Mär. 2021

Kommentiert:

FM
am 21 Okt. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by