reason for this error??

>> i_close =(gi,se2); figure,imshow(i_close);
It's reporting the error=
??? i_close =(gi,se2); figure,imshow(i_close);
|
Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.
i cant see any reason!!! Help..

 채택된 답변

Matt Tearle
Matt Tearle 2012년 4월 18일

1 개 추천

i_close =(gi,se2);
This isn't valid MATLAB. Should there be a function call here, or are you trying to concatenate? Eg
i_close = functionname(gi,se2);
i_close = [gi,se2];

댓글 수: 2

supriya
supriya 2012년 4월 18일
yeah yeah u r ri8...
It's i_close = imclose(gi,se2);
Matt Tearle
Matt Tearle 2012년 4월 18일
Yeah, the "unbalanced (" part of the error message isn't quite right. MATLAB made a guess, and, in this case, guessed wrong.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2012년 4월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by