Watch this Author's files
See my comment above for how to fix error you're getting.
This works very well, thank you! One suggestion for linux users:
To make mlint work, symlink mlint into /usr/bin so that it's in the path:
sudo ln -s <MATLABPATH>/bin/glnx86/mlint mlint
Also, the matlab.vim ftplugin is in DOS format, and vim will complain about "^M" characters. To fix this, open matlab.vim using the following command:
vi -U NONE -u NONE ~/.vim/ftplugin/matlab.vim
then, replace the ^M characters with newlines like this:
When typed, this looks like:
Save, exit, and everything should work!