All in one Image Processing File
Show older comments
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 Comments
Image Analyst
on 4 Sep 2013
Edited: Image Analyst
on 4 Sep 2013
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
on 4 Sep 2013
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
on 4 Sep 2013
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
on 5 Sep 2013
Edited: Walter Roberson
on 5 Sep 2013
Walter Roberson
on 5 Sep 2013
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
on 5 Sep 2013
Accepted Answer
More Answers (0)
Categories
Find more on Electrophysiology in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!