Linux 16.04 Matlab
1 view (last 30 days)
Show older comments
./matlab: line 1: syntax error near unexpected token `='
./matlab: line 1: `function p = pathdef'
I keep getting this. pleae help
4 Comments
Kritika Bansal
on 8 Aug 2019
You may probably have changed the contents of the pathdef.m file in such a way that caused this error. Could you share your version of pathdef.m?
Walter Roberson
on 8 Aug 2019
No, I would say that you have somehow replaced /usr/locall/MATLAB/R2018b/bin/matlab with a copy of pathdef.m . I would suggest deleting that (in case it is a weird link) and then reinstalling MATLAB .
Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!