Borrar filtros
Borrar filtros

reason for this error??

1 visualización (últimos 30 días)
supriya
supriya el 18 de Abr. de 2012
>> 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..

Respuesta aceptada

Matt Tearle
Matt Tearle el 18 de Abr. de 2012
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 comentarios
supriya
supriya el 18 de Abr. de 2012
yeah yeah u r ri8...
It's i_close = imclose(gi,se2);
Matt Tearle
Matt Tearle el 18 de Abr. de 2012
Yeah, the "unbalanced (" part of the error message isn't quite right. MATLAB made a guess, and, in this case, guessed wrong.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by