>> I = imread('pout.tif');
>> imshow(I)
Error: File: newplot.m Line: 1 Column: 20
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct
matrices, use brackets instead of parentheses.
Error in imshow (line 292)
ax_handle = newplot;
i am facing this issue for 2, 3 days. i did everything , but still facing this issue.

댓글 수: 2

Image Analyst
Image Analyst 2021년 3월 16일
You should have called tech support. You have a maintenance contract right? If so, better yet, just upgrade.
Otherwise, what does this show:
>> which -all newplot
C:\Program Files\MATLAB\R2020b\toolbox\matlab\graphics\axis\newplot.m
Saddam Hussain
Saddam Hussain 2021년 3월 17일
>> which -all newplot
C:\Users\sadam hussain\Documents\MATLAB\newplot.m
C:\Program Files\MATLAB\R2018a\toolbox\matlab\graphics\newplot.m % Shadowed
It shows this

댓글을 달려면 로그인하십시오.

답변 (1개)

Steven Lord
Steven Lord 2021년 3월 16일

0 개 추천

Rename the file you created named newplot.m that's taking precedence over the newplot function included in MATLAB.

댓글 수: 1

Saddam Hussain
Saddam Hussain 2021년 3월 17일
i renamed it, changed the file location. i think it needs to be upgrade.

댓글을 달려면 로그인하십시오.

질문:

2021년 3월 16일

댓글:

2021년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by