Why do I get:"Undefined function or variable 'pathtool'."
이전 댓글 표시
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'."
답변 (1개)
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
Ronald Ouwerkerk
2018년 1월 25일
Hamid
2018년 5월 16일
restoredefaultpath worked for me too!
Sivateja Maturu
2019년 5월 17일
restoredefaultpath worked for me too! Thanks
Eric Bondzie
2019년 5월 23일
restoredefaultpath worked for me too. Thanks alot
marco velayarce
2020년 3월 17일
thanks!,
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!