Hi Ignacio,
I have the following aliases set up in my shell configuration...
alias matlab-cli='matlab -nosplash -nodesktop -r "addpath $ISSM_DIR/src/m/dev; devpath;"'
alias matlab-gui='matlab -nosplash -r "addpath $ISSM_DIR/src/m/dev; devpath;"'
alias matlab-ssh='matlab -nosplash -nodisplay -nojvm -r "addpath $ISSM_DIR/src/m/dev; devpath;"'
You probably don't need the last one unless you will be running MATLAB over an SSH connection. Also, you can modify the arguments to addpath
as needed.