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

2 views (last 30 days)
phil kenny
phil kenny on 14 Apr 2017
Commented: phil kenny on 19 Apr 2017
If I have a folder on partition E: E:\project 1\data
What would be the correct syntax to use with the path command?

Answers (1)

Hari Desanur
Hari Desanur on 17 Apr 2017
Edited: Hari Desanur on 17 Apr 2017
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