Linux 16.04 Matlab

1 view (last 30 days)
Fardowsa Halane
Fardowsa Halane on 24 Jul 2019
Commented: Walter Roberson on 8 Aug 2019
./matlab: line 1: syntax error near unexpected token `='
./matlab: line 1: `function p = pathdef'
I keep getting this. pleae help
  4 Comments
Kritika Bansal
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
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 .

Sign in to comment.

Answers (0)

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!