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 commentaires

weikang zhao
weikang zhao le 12 Mar 2021
ctrl+c
FM
FM le 12 Mar 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 le 8 Juil 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 le 21 Oct 2022
I have the same issue and it is really annoying. How do we fix this?
FM
FM le 21 Oct 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.

Connectez-vous pour commenter.

Réponses (0)

Tags

Question posée :

FM
le 11 Mar 2021

Commenté :

FM
le 21 Oct 2022

Community Treasure Hunt

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

Start Hunting!

Translated by