Can I save all the command history of a running script?

조회 수: 8 (최근 30일)
Pietro Ferretti
Pietro Ferretti 2021년 8월 17일
답변: Fangjun Jiang 2021년 8월 17일
Hi everybody, I'm running on my MATLAB a huge simulation and I would like to export the command history generated by my script (which is stil running and must not be stopped), indeed I'm not able to see all the outputs that have been generated due to the limit of lines of command history. Is there a way to save all the past outputs without stopping the process?
  댓글 수: 1
Rik
Rik 2021년 8월 17일
You should have modified the code to let it write to a file (possibly in addition to printing to the command window).

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

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2021년 8월 17일
diary()?

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by