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

1 view (last 30 days)
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

Categories

Find more on Search Path in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!