All in one Image Processing File
이전 댓글 표시
I need to classify LISS 3 imagery in matlab environment to delineate the mangroves.
I have seen your All in one Image Processing files. I have copied all the files and placed in my local drive. when i am running the mainprogram.m i got some error as follows
??? Error using ==> load Unable to read file mainprogram.fig: No such file or directory.
Error in ==> hgload>localLoadFile at 177 AllVars = load(filename, '-mat');
Error in ==> hgload at 59 [FigVersion, FigData, VerNum] = localLoadFile(filename);
Error in ==> openfig at 72 [fig, savedvisible] = hgload(filename, struct('Visible','off'));
Error in ==> gui_mainfcn>local_openfig at 286 gui_hFigure = openfig(name, singleton, visible);
Error in ==> gui_mainfcn at 159 gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt, gui_Visible);
Error in ==> mainprogram at 43 gui_mainfcn(gui_State, varargin{:});
Kindly guide me in this regard. i have to complete my project. Please guide me in a right way sir..... it would be grateful if u point out the mistake i made...
Warm Regards Shoba P
댓글 수: 7
Image Analyst
2013년 9월 4일
편집: Image Analyst
2013년 9월 4일
Whom are you referring to when you say "your" and "sir"? What is the value of "filename" - and does that file actually exist?
Walter Roberson
2013년 9월 4일
Which directory are you in when you run the program? Which directory are the files in? What do you get if you execute
dir('*.fig')
Image Analyst
2013년 9월 4일
Are you trying to load the file called "mainprogram.fig" but telling the load() function to treat it as a .mat file? I don't believe that will work since a .fig file is not the same format as a .mat file. Anyway, did you contact the authors of that file?
Shoba
2013년 9월 5일
편집: Walter Roberson
2013년 9월 5일
Walter Roberson
2013년 9월 5일
openfig() is called automatically when you run a GUIDE gui. openfig() calls various levels, eventually getting down to loading the .fig file. .fig files are .mat format.
Shoba
2013년 9월 5일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!