Deleting temporal path files

2 次查看(过去 30 天)
Jesús
Jesús 2019-2-12
评论: Jesús 2019-2-12
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

采纳的回答

Jan
Jan 2019-2-12
编辑:Jan 2019-2-12
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".

更多回答(2 个)

Jesús
Jesús 2019-2-12
编辑:Jesús 2019-2-12
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 个评论
Jan
Jan 2019-2-12
编辑:Jan 2019-2-12
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 2019-2-12
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

请先登录,再进行评论。


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

类别

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

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by