MATLAB: Matlab change the environment variable $PATH, Can I remove them from $PATH

environmentMATLABpath

there is
C:\Program Files\MATLAB\R2015b\runtime\win64;C:\Program Files\MATLAB\R2015b\bin
in my environment variable $PATH, what is the use? Can I remove them from $PATH?
If I remove them from $PATH, will matlab break?
thank you

Best Answer

Hi Hao,
Removing those paths from the system's PATH environment variable should not ideally break anything in MATLAB. But with 'C:\Program Files\MATLAB\R2015b\bin' path removed, while using the terminal, you would would have to first change your current directory to 'C:\Program Files\MATLAB\R2015b\bin' before being able to run matlab.exe. Having that path to the MATLAB executable in the PATH environment variable allows you to start MATLAB from command prompt from any directory.
- Rohit