Hi, I request you to please explain the meaning of this statement.
1 view (last 30 days)
Show older comments
>> addpath(fullfile(pwd, 'Myfolder'))
0 Comments
Accepted Answer
Sean de Wolski
on 9 Sep 2014
Break it into pieces!
>>pwd
What does this return?
>>fullfile(pwd,'MyFolder')
What happens now?
For something like addpath(), look it up in the doc:
>>doc addpath
More Answers (1)
the cyclist
on 9 Sep 2014
It tells MATLAB to look in the subdirectory 'Myfolder' of the present directory, when it executes commands. Type
doc addpath
into the Command Window to see a more complete explanation.
See Also
Categories
Find more on Search Path in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!