#!/bin/sh
pkill -f /usr/local/MATLAB; pkill -f vim-matlab-server

#!/bin/sh
pkill -f /MATLAB; pkill -f vim-matlab-server

Remove /usr/local from the pkill pattern
Remove /usr/local from the pkill pattern
