This function is a very simple wrapper to run TortoiseSVN. Since Windows Matlab doesn't support SVN directly, this is a way to control svn from within Matlab. It is NOT intended to replace Matlab's versioning control.
I also created 3 wrappers for the 3 most commonly functions I use: checkout, commit & add. It is very trivial to create new wrappers for yourself.
I am new to MatLab and was amazed it didn't natively support SVN but instead supports an outdated, buggy and generally useless version control system like MS's SourceSafe. This wrapper code is perfect, I just type commit and the Tortoise SVN dialog shows up. This is especially important because MatLab seems to lock files such that Tortoise SVN can't properly commit them from the Explorer interface.
This is pretty awesome! I can put a commit command at some point in my code and then it will automatically version control itself everytime I run it! And it still prompts me to enter a log message so I can note what tweaks have been made.