Why do some of the entries in history.m get erased arbitrarily?
Show older comments
Based on the documentation, I expect the command history file to grow to 200KB, and overwrite the oldest commands first after that. However, my experience is that the size of the file is on average between 4 to 6 KB, and never reaches the documented 200 KB size. I also notice that some of the oldest commands are missing sometimes. Running a job using MATLAB in the "-nodesktop" mode, and seems to be the cause of the file shrinking. If I have an interactive session of MATLAB open, no commands are lost. What could be causing this?
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!