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

1 vue (au cours des 30 derniers jours)
Muna Shehan
Muna Shehan le 9 Sep 2014
Commenté : Muna Shehan le 9 Sep 2014
>> addpath(fullfile(pwd, 'Myfolder'))

Réponse acceptée

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

Plus de réponses (1)

the cyclist
the cyclist le 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.

Catégories

En savoir plus sur Search Path dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by