The following is my .profile file:# ~/.profile: executed by the command interpreter for login shells.# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login# exists.# see /usr/share/doc/bash/examples/startup-files for examples.# the files are located in the bash-doc package.# the default umask is set in /etc/profile; for setting the umask# for ssh logins, install and configure the libpam-umask package.#umask 022# if running bashif [ -n $BASH_VERSION ]; then    # include .bashrc if it exists    if [ -f $HOME/.bashrc ]; then    . $HOME/.bashrc    fifi# set PATH so it includes user's private bin if it existsif [ -d $HOME/bin ] ; then    PATH=$HOME/bin:$PATH    export PATH=/home/naveen/bin:~/../../usr/local/MATLAB/R2015a/bin/:$PATHfiThe path to matlab (~/../../usr/local/MATLAB/R2015a/bin/) was recently added. But, after adding the matlab path, I am still NOT able to run matlab from ANY folder by simply running the command ./matlab.I am adding the path correctly ? Should I reboot the system for the changes to apply ? 
Unable to add folder to PATH in .profile file
environment variables;path;profile
A reboot isn't necessary, but reloading your .profile is. Try running source .profile. Alternatively, you can log off and log on again.