after installing Matlab R2017a on Ubuntu I cannot set the path. I get the error "Undefined function or variable 'pathtool'

1 view (last 30 days)
- When I click on "Set Path" I get the message "Undefined function or variable 'pathtool'". If I type "path" at the prompt I get a long list with paths, so it seems the path is ok - What can I do?

Accepted Answer

Ritesh Chandna
Ritesh Chandna on 10 Apr 2017
Edited: Ritesh Chandna on 10 Apr 2017
Execute the following statements in MATLAB to resolve this issue:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
Please note that this will restore MATLAB to default paths, removing custom added paths.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!