help > Error using ==> strtrim
Showing 1-4 of 4 posts
Display:
Results per page:
Apr 1, 2014  03:04 PM | Laura Moreno-Lopez
Error using ==> strtrim
I am trying to run BrainNet Viewer in Matlab but after Adding the toolbox to the path and type BrainNet in Matlab I get the following error

?? Error using ==> strtrim
Input should be a string or a cell array of strings.

Error in ==> gui_mainfcn at 226
guidemfile('restoreToolbarToolPredefinedCallback',gui_hFigure);
Error in ==> BrainNet at 53
gui_mainfcn(gui_State, varargin{:});


Any help will be very much appreciate,
Laura
Apr 2, 2014  02:04 AM | Mingrui Xia
RE: Error using ==> strtrim
Hi Laura, 

Thanks for using the toolbox. 
What is the version of your Matalb? And Could you please check if any other toolboxes have changed the default functions in Matalb?(remove other toolbox)

Best,
Mingrui
Apr 3, 2014  04:04 PM | Laura Moreno-Lopez
RE: Error using ==> strtrim
Hi Mingrui,

I am using Matlab 7.5.0. How can I check if any other toolboxes have changed the default functions in Matlab?

Thank you very much for your help,
Laura
Apr 4, 2014  02:04 AM | Mingrui Xia
RE: Error using ==> strtrim
Hi Laura,

Could you please try a higher version of Matlab, such as 2010b? BrainNet Viewer is developed on 2010b, and not compatible with 7.5 version. 

Mingrui