Watch this Author's files
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:
Now it won't 'hang' your matlab but just display an error dialog before closing.