I tried to get the MATLAB syntax checking to work in Vim.
I used Bundle 'jrestrepo/matlab'
and for syntax highlighting and it works fine. But the syntax checking doesn't work. I exported /Applications/MATLAB_R2012b.app/bin/maci64/
to PATH
with:
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH"
export PATH
export PATH=$PATH:/Applications/MATLAB_R2012b.app/bin/maci64
in my bash_profile
and now on the command line I get:
Tierra-Gorda:~ mike$ which mlint
/Applications/MATLAB_R2012b.app/bin/maci64/mlint
Tierra-Gorda:~ mike$ mlint
dyld: Library not loaded: libtbb.dylib
Referenced from: /Applications/MATLAB_R2012b.app/bin/maci64/./libmwfl.dylib
Reason: image not found
Trace/BPT trap: 5
and I suspect, that the dot in the path messes it up somehow. Because the file libmwfl.dylib
exists in .../maci64/libmwfl.dylib
.
Thanks for any suggestions.