Effacer les filtres
Effacer les filtres

Why do I get:"Undefined function or variable 'pathtool'."

31 vues (au cours des 30 derniers jours)
Ronald Ouwerkerk
Ronald Ouwerkerk le 24 Jan 2018
Commenté : marco velayarce le 17 Mar 2020
I moved from 2015b to 2017b and at startup a lot of directories in the path are not recognized. Some of them I did not even know I had in the path :
/Applications/MATLAB_R2017b.app/toolbox/matlab/external/engines/python Warning: Name is nonexistent or not a directory:
I guess the default matlab home directory is no longer in /Users/mysuername/Documents/matlab. When I try to fix this by clicking on 'Set Path' in the 'HOME' tab of the main Matlab window the response is and error message "Undefined function or variable 'pathtool'."

Réponses (1)

Jan
Jan le 25 Jan 2018
Modifié(e) : Jan le 25 Jan 2018
Something went wrong. If even the built-in pathtool cannot be found, the installation of R2017b failed. A re-installation is the first idea. The command restoredefaultpath might help also, but this should run after the installation already.
  5 commentaires
Eric Bondzie
Eric Bondzie le 23 Mai 2019
restoredefaultpath worked for me too. Thanks alot
marco velayarce
marco velayarce le 17 Mar 2020
thanks!,

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by