Hi, I request you to please explain the meaning of this statement.

4 views (last 30 days)
>> addpath(fullfile(pwd, 'Myfolder'))

Accepted Answer

Sean de Wolski
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
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.

Community Treasure Hunt

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

Start Hunting!