To add MATLAB to PATH:
in home directory
vi .bash_profile
PATH="/Applications/MATLAB_RXXX.app/bin:${PATH}"
where XXX is ypur version of MATLAB
now to run MATLAB in console, without MATLAB window:
matlab -nodesktop
cool program to operate on a computer far far away: Team Viewer (
link)