matlab change my environment variable $PATH, Can I remove them from $PATH?

조회 수: 3 (최근 30일)
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
  댓글 수: 3
Adam
Adam 2016년 4월 8일
Well, they get added as part of the install process so I assume they need to be there. You can try removing them though and then just re-add them if/when it breaks.
Hao Zhang
Hao Zhang 2016년 4월 16일
@Walter Roberson , in cmd it is %PATH% and in powershell it is $PATH , they are the same thing....

댓글을 달려면 로그인하십시오.

채택된 답변

Rohit Kudva
Rohit Kudva 2016년 4월 14일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by