Watch this Author's files
I would add to the command that invokes Matlab the option "-nosplash", and maybe also "-nodisplay".
Another useful function by Yair Altman.
On R2009a, JavaFrame still works, and I guess that when it won't work, there will be a replacement (I'm sure that Y. Altman will find it even it will be undocumented ;) )
Very useful foe me (mainly for plotting)