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

4 visualizaciones (últimos 30 días)
Pietro Ferretti
Pietro Ferretti el 17 de Ag. de 2021
Respondida: Fangjun Jiang el 17 de Ag. de 2021
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 comentario
Rik
Rik el 17 de Ag. de 2021
You should have modified the code to let it write to a file (possibly in addition to printing to the command window).

Iniciar sesión para comentar.

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 17 de Ag. de 2021
diary()?

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by