How can I get Matlab's Command Window to output the entire column vector of solutions?

조회 수: 12 (최근 30일)
Hi,
Matlab's Command Window seems to cut off a long column vector of solutions.
What is the default limit set to, and how could I get the Command Window to output the entire column vector?
The vectors that I'm playing with are 1,000 x 1, 10,000 x 1, and 100,000 x 1 column vectors.
Thanks,
  댓글 수: 2
Walter Roberson
Walter Roberson 2020년 10월 5일
The limit seems to be 5000 lines.
I have a vague memory of seeing a way to change that, but the details completely escape my memory.
There might be something available through
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
mainFrame = desktop.getMainFrame;
Noob
Noob 2020년 10월 7일
Hi Walter,
Ok, thanks so much - have a great day.

댓글을 달려면 로그인하십시오.

채택된 답변

Steven Lord
Steven Lord 2020년 10월 6일
You can increase the Command Window scroll buffer size to some extent (see this documentation page) but the scroll buffer is not infinite. You might want to write your data to a file using data import and export functions, the diary function, or starting MATLAB with the -logfile startup option.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by