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

1 visualización (últimos 30 días)
>> addpath(fullfile(pwd, 'Myfolder'))

Respuesta aceptada

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

Más respuestas (1)

the cyclist
the cyclist el 9 de Sept. de 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.

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by