help > Problem with Installation
Showing 1-5 of 5 posts
Jun 13, 2014 08:06 PM | Yiling He
Problem with Installation
Hello,
When I installed the BrainNet Viewer, Matlab kept showing me the error as below:
Undefined function 'imshow' for input arguments of type 'uint8'.
Error in BrainNet>BrainNet_OpeningFcn (line 229)
imshow(imread('BrainNet_Background.tif'));
Error in gui_mainfcn (line 221)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure),
varargin{:});
Error in BrainNet (line 53)
gui_mainfcn(gui_State, varargin{:});
I tried installation once before, about 2 months ago, and it worked. Please let me know how can I solve this problem. I'm using Matlab R2012a
Thank you so much.
Yiling
When I installed the BrainNet Viewer, Matlab kept showing me the error as below:
Undefined function 'imshow' for input arguments of type 'uint8'.
Error in BrainNet>BrainNet_OpeningFcn (line 229)
imshow(imread('BrainNet_Background.tif'));
Error in gui_mainfcn (line 221)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure),
varargin{:});
Error in BrainNet (line 53)
gui_mainfcn(gui_State, varargin{:});
I tried installation once before, about 2 months ago, and it worked. Please let me know how can I solve this problem. I'm using Matlab R2012a
Thank you so much.
Yiling
Jun 14, 2014 08:06 AM | Mingrui Xia
RE: Problem with Installation
Hi Yiling,
Thank you for asking.
This error is probably because the image toolbox was missing or not installed with your matlab. Could you please have a check?
Best,
Mingrui
Thank you for asking.
This error is probably because the image toolbox was missing or not installed with your matlab. Could you please have a check?
Best,
Mingrui
Jul 18, 2014 07:07 AM | Shoji Tanaka
RE: Problem with Installation
Hi Mingrui,
I have the same problem, which has not been solved yet.
My MATLAB has image processing toolbox.
Thank you.
Shoji
I have the same problem, which has not been solved yet.
My MATLAB has image processing toolbox.
Thank you.
Shoji
Jul 22, 2014 01:07 AM | Shoji Tanaka
RE: Problem with Installation
Hi,
It works with MATLAB 2013b but not with 2014a.
How can we solve this problem?
Thank you.
Shoji Tanaka
It works with MATLAB 2013b but not with 2014a.
How can we solve this problem?
Thank you.
Shoji Tanaka
Sep 8, 2014 01:09 PM | Mingrui Xia
RE: Problem with Installation
Hi,
This is because the lack of image toolbox in your new version of MATLBA. Please change the codes in line 232 ~ 234 of BrainNet.m:
from:
if exist('BrainNet_Background.tif','file')==2
imshow(imread('BrainNet_Background.tif'));
end
to:
if exist('BrainNet_Background.tif','file')==2 && exist('imshow','file')
imshow(imread('BrainNet_Background.tif'));
end
Best,
Mingrui
This is because the lack of image toolbox in your new version of MATLBA. Please change the codes in line 232 ~ 234 of BrainNet.m:
from:
if exist('BrainNet_Background.tif','file')==2
imshow(imread('BrainNet_Background.tif'));
end
to:
if exist('BrainNet_Background.tif','file')==2 && exist('imshow','file')
imshow(imread('BrainNet_Background.tif'));
end
Best,
Mingrui
