You should install a plugin named {editing Matlab files in Vim}.
Then add such command to your own .vimrc file
source $VIMRUNTIME/macros/matchit.vim filetype indent on autocmd BufEnter *.m compiler mlint