help > BrainNet_MacCfg error but manual OK
Showing 1-2 of 2 posts
Display:
Results per page:
Sep 26, 2017  02:09 PM | Sean Ma
BrainNet_MacCfg error but manual OK
Hi Mingrui, 

When manually loading surfaces and nodes, BrainNet performed great and generated the image I needed. But when I tried using the same surface/node file and saved option, there was this Index exceeds matrix dimensions error.  

Below is the error reported in Matlab.

I've also tried updating to your August post with the code BrainNetViewer_20170403u_code.zip but with no luck.

Any suggestions? And thanks for your help!

 Sean 

>> BrainNet_MapCfg('BrainMesh_ICBM152_smoothed.nv', 'test.node','Hampstead_option.mat')

Index exceeds matrix dimensions.

Error in BrainNet>GenertateSurfM8 (line 897)
Surfmatrix.T{1}=surf.T(vl);
Error in BrainNet>FileView (line 3703)
Surfmatrix=GenertateSurfM8(surf,tl,tr,vl,vr,cuv);
Error in BrainNet>NV_m_nm_Callback (line 382)
a=FileView;
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in BrainNet (line 53)
gui_mainfcn(gui_State, varargin{:});
Error in BrainNet_MapCfg (line 506)
BrainNet('NV_m_nm_Callback',H_BrainNet);
Sep 27, 2017  01:09 AM | Mingrui Xia
RE: BrainNet_MacCfg error but manual OK
Hi Sean,

Could you please attach the .node and .mat files?

Best,
Mingrui