Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to capture many warnings at startup

1 visualización (últimos 30 días)
KAE
KAE el 8 de Abr. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
All my mfiles on my path have gotten accidentally relocated on my computer, so that now when I start Matlab, I get warnings like
Warning: Name is nonexistent or not a directory: C:\exampleDirectory
I want to make sure that I get a list of all the relocated directories, so I can confirm that nothing disappeared during the accidental relocation. But I am worried that this list is truncated since it is 5 screens long when my Matlab command window is maximized. Is there a setting that controls how many screens of warnings I can scroll up through? The warnings list didn't get longer when I set Preferences > Command Window > Number of lines in command window scroll buffer to 25,000 instead of the default 5,000, so is there no truncation? Or is there a way I can send the output of all warnings from startup to a diary file? Note that these warnings are thrown before startup.m even executes.

Respuestas (0)

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by