reason for this error??

1 回表示 (過去 30 日間)
supriya
supriya 2012 年 4 月 18 日
>> 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 日
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 件)

カテゴリ

Help Center および File ExchangeDetection についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by