Hi, I request you to please explain the meaning of this statement.
1 次查看(过去 30 天)
显示 更早的评论
>> addpath(fullfile(pwd, 'Myfolder'))
0 个评论
采纳的回答
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
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 Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!