To modify your environment variables on Windows, please see the following support article:
How do I set add or change environment variables?https://www.mathworks.com/matlabcentral/answers/223482
To modify your system path, edit the "Path" variable by adding your desired path to the value of this variable. After making changes, restart your computer for changes to take effect.