from Save Entire Command History by Jonathan Snell
Maintains a complete record of the command history (Matlab only maintains the last 20k worth ...

All files for Save Entire Command History
/finish.m
/preserve_history.m
/startup.m

Contact us at files@mathworks.com