Filter löschen
Filter löschen

plz tell me wat's the reason for this error in matlab..

1 Ansicht (letzte 30 Tage)
supriya
supriya am 18 Apr. 2012
??? Error using ==> getImageFromFile at 14 Cannot find the specified file: "ei"
Error in ==> imageDisplayParseInputs at 74 [common_args.CData,common_args.Map] = ...
Error in ==> imshow at 199 [common_args,specific_args] = ...
  2 Kommentare
Andreas Goser
Andreas Goser am 18 Apr. 2012
Can you post your code please?
supriya
supriya am 18 Apr. 2012
i hv got it!!
The input to imshow() should not be a string..nd i was trying it this way..
ei = imerode(gi,se);
imshow(ei);

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Wayne King
Wayne King am 18 Apr. 2012
The input to imshow() should not be a string
ei = imerode(gi,se);
imshow(ei);

Weitere Antworten (1)

Wayne King
Wayne King am 18 Apr. 2012
I think you should provide more information than this, like what specific MATLAB function call is throwing the error.
The root cause appears that the file "ei" cannot be found.
What is the name of the file you are trying to open and is the folder that file is in located on the MATLAB search path?
Use addpath or pathtool to add the folder
  2 Kommentare
supriya
supriya am 18 Apr. 2012
It's bcoz of this 1..
ei=imerode(gi,se);imshow('ei');
here gi is a grayscale image..
supriya
supriya am 18 Apr. 2012
plzzz help....

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by