Info

This question is closed. Reopen it to edit or answer.

How to capture many warnings at startup

1 view (last 30 days)
KAE
KAE on 8 Apr 2019
Closed: MATLAB Answer Bot on 20 Aug 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.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!