Unexpected MATLAB operator.
显示 更早的评论
Hi everyone
When ever I am trying to plot any figure I am getting the following error. Does anyone have any idea how to fix this. My script does not have any error cause I used that many time. Recently I added and deleted few items from path then it started to happen.
Error: File: set.m Line: 1 Column: 1
Unexpected MATLAB operator.
Error in newplot (line 66)
set(fig,'nextplot','add');
Error in contourf (line 70)
cax = newplot(cax);
Error in SST_editor (line 13)
contourf(lon,lat,sst_layer)
1 个评论
Are Mjaavatten
2017-11-19
Could it be that you have inadvertently modified set.m? Open the file in the editor and check that it is OK.
回答(2 个)
Image Analyst
2017-11-19
0 个投票
The problem probably originates in a line above it somewhere, like you don't have enough closing parentheses on a line above or something like that.
类别
在 帮助中心 和 File Exchange 中查找有关 Desktop 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!