Rank: 2472 based on 19 downloads (last 30 days) and 1 file submitted
photo

Jonathan Snell

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Jonathan
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Dec 2005 Save Entire Command History Maintains a complete record of the command history (Matlab only maintains the last 20k worth ... Author: Jonathan Snell command history, preserve, maintain, record 19 5
  • 4.8
4.8 | 10 ratings
Comments and Ratings on Jonathan's Files View all
Updated File Comment by Comments Rating
29 Nov 2010 Save Entire Command History Maintains a complete record of the command history (Matlab only maintains the last 20k worth ... Author: Jonathan Snell Smart, Mr
22 Sep 2010 Save Entire Command History Maintains a complete record of the command history (Matlab only maintains the last 20k worth ... Author: Jonathan Snell Demarteau, Emile

Thanks for this great contribution! I was looking for this functionality, and it works great!

@Eric I got around the error problem in finish.m by placing the history_preserved command in a try cath block. So finish.m will look like:

setpref('StartupDirectory','LastWorkingDirectory',pwd)
try
    preserve_history;
catch EM
    h=msgbox(EM.message,sprintf('Error: %s',EM.identifier),'error');
    uiwait(h);
    return
end

Now it won't 'hang' your matlab but just display an error dialog before closing.

16 Jun 2010 Save Entire Command History Maintains a complete record of the command history (Matlab only maintains the last 20k worth ... Author: Jonathan Snell Zhang, Jie
01 Mar 2010 Save Entire Command History Maintains a complete record of the command history (Matlab only maintains the last 20k worth ... Author: Jonathan Snell mark95tt
20 Feb 2010 Save Entire Command History Maintains a complete record of the command history (Matlab only maintains the last 20k worth ... Author: Jonathan Snell Eric

Contact us at files@mathworks.com