Linux 16.04 Matlab
18 次查看(过去 30 天)
显示 更早的评论
./matlab: line 1: syntax error near unexpected token `='
./matlab: line 1: `function p = pathdef'
I keep getting this. pleae help
4 个评论
Kritika Bansal
2019-8-8
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
2019-8-8
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 .
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!