How do I edit my system path in Windows?

2,980 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2010 年 1 月 19 日
編集済み: MathWorks Support Team 2023 年 12 月 13 日
How do I edit my system path in Windows?

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 12 月 13 日
編集済み: MathWorks Support Team 2023 年 12 月 13 日
In Windows, environment variables can be accessed from “Advanced system settings” on the left side of the “System” control panel. How you access and edit the environment variables depends on the version of Windows you are using.
Windows 10 (Also Windows 8.1)
  1. Right-click on the Start Button
  2. Select “System” from the context menu.
  3. Click “Advanced system settings”
  4. Go to the “Advanced” tab
  5. Click “Environment Variables…”
  6. Click variable called “Path” and click “Edit…”
  7. Click “New”
  8. Enter the path to the folder containing the binary you want on your PATH. For example, to add MATLAB R2016b, add:
C:\Program Files\MATLAB\R2016b\bin
Click “OK” to save the changes to your variables and restart your computer for the changes to take effect.
Windows 7 (Also Windows Vista)
  1. Right-click on the My Computer icon on the right side of the Start Menu.
  2. Click “Properties” from the context menu.
  3. Click “Advanced system settings”
  4. Go to the “Advanced” tab
  5. Click “Environment Variables…”
  6. Click variable called “Path” and click “Edit…”
  7. Add the path to the folder containing the binary to the end of the value in your PATH variable. For example, to add MATLAB R2016b, add this to the end of the text already in the PATH variable:
;C:\Program Files\MATLAB\R2016b\bin
Click “OK” to save the changes to your variables and restart your computer for the changes to take effect.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by