Deleting temporal path files

3 views (last 30 days)
Jesús
Jesús on 12 Feb 2019
Commented: Jesús on 12 Feb 2019
When starting MATLAB R2017b for MacOSX I obtain the following messages:
Warning: Name is nonexistent or not a directory:
/Users/jpeinado/Desktop/2018-JCAM-costayher-(revisionmetodos)/Codigos_hermites_2017 (01-06_2018)
Warning: Name is nonexistent or not a directory:/Users/jpeinado/Desktop/2018-JCAM-costayher-(revision
metodos)/Codigos_hermites_2017 (01-06_2018)/Resultados_pr_met_cos
Warning: Name is nonexistent or not a directory:
/Users/jpeinado/Desktop/2018-JCAM-costayher-(revisionmetodos)/Codigos_hermites_2017 (01-06_2018)/Resultados_pr_met_cos_old
.
.
.
I think these are former directories, but I dont know how to reset these paths

Accepted Answer

Jan
Jan on 12 Feb 2019
Edited: Jan on 12 Feb 2019
Open the tool to manage the path:
pathtool
There is a corresponding button in the toolbar also.
By the way, you can find such methods by asking an internet search engine for "Matlab remove folder from path".

More Answers (2)

Jesús
Jesús on 12 Feb 2019
Edited: Jesús on 12 Feb 2019
Ahhh!!! I found it with your http reference
the problem is on the /Applications/MATLAB_R2017b.app/toolbox/local/pathdef.m file
How can modify this file without editing it?
Can I edit this file with pathtool? I cant see that path in pathtool
Thank you very much for your help
jpeinado
  2 Comments
Jan
Jan on 12 Feb 2019
Edited: Jan on 12 Feb 2019
pathtool is the Matlab function, which starts the GUI for editing the pathdef.m file. Either edit the file or select the folders in the GUI and when you press the "Save" button, the pathtool modifies the pathdef.m file.
I assume, you need admin privileges to modify the file.
Alternative: Use rmpath to remove the folders from the path and call savepath to store the path in the pathdef.m file.
Jesús
Jesús on 12 Feb 2019
Thank you very much. I had to edit the file with an editor. I dont know why the pathtool command did not work.
Thank you very much for your help
jpeinado

Sign in to comment.


Jesús
Jesús on 12 Feb 2019
I edited pathdef.m with an editor. But I would like to know if it is possible to edit it using pathtool.
Regards
jpeinado

Categories

Find more on Search Path in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!