MATLAB Answers

1

How do I edit my system path in Windows?

How do I edit my system path in Windows?

1 Answer

Answer by MathWorks Support Team on 10 Jan 2017
 Accepted Answer

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 Comments

Sign in to comment.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today