In Windows 10, what is the correct syntax for adding a path on partition other than C?

조회 수: 2(최근 30일)
If I have a folder on partition E: E:\project 1\data
What would be the correct syntax to use with the path command?


Hari Desanur
Hari Desanur 2017년 4월 17일
편집: Hari Desanur 2017년 4월 17일
To add the "E:\project1\data" folder to the MATLAB path, you can do this in the following way -
1. Use the path command -
>> path(path,'E:\project1\data')
2. Execute the following command to open the pathtool where you can add the folder graphically -
>> pathtool



Community Treasure Hunt

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

Start Hunting!

Translated by