works on matlab 2012b now
Merge pull request #1 from tesch1/master

works on matlab 2012b now