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

1 次查看(过去 30 天)
>> addpath(fullfile(pwd, 'Myfolder'))

采纳的回答

Sean de Wolski
Sean de Wolski 2014-9-9
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

更多回答(1 个)

the cyclist
the cyclist 2014-9-9
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.

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by