- can you show us the results of which -all (remove any personal information)?
- what is the CURRENT FOLDER, or the working directory you are in, when you call this which -all command? The current folder is automatically included in path despite trying to remove it.
- Do you have to use the same function name? If so, you could use a private folder to prevent other functions from accessing that same-name function
Which command returns two paths
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I added by mistake a wrong path for a function and it has been saved permanently. When I execute 'which -all FunctionName'. The which command returns two paths (The wrong one and the correct one followed by shadowed) So my question how can I remove the first path and keep the shadowed one as the primary one? Note: I already tried pathtool and rmpath but the wrong path of the function does not exist there.
1 comentario
OCDER
el 19 de Jul. de 2018
Respuestas (1)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!