help
help > Dimensions of matrices being concatenated are not consistent ERROR
Mar 23, 2018 04:03 AM | Pablo Reyes
Dimensions of matrices being concatenated are not consistent ERROR
Dear Experts
I have a matrix with 94 nodes and label's file with 94 coordinates. However, when I try run Brainnet with commands I get this error:
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
Error in BrainNet_MapCfg (line 133)
surf.sphere = [cell2mat(data(1)) cell2mat(data(2)) cell2mat(data(3)) cell2mat(data(4)) cell2mat(data(5))];
I have checked the number of nodes and egdes, but the number is correct (in my case 94). I've gotten the nodes coordinates with getcog and I checked the origin, size voxel in the image with the labels (I used MINDBOGGLE atlas)
These were my commands and files (attach)
aty=('MINDC_DF.edge');
BrainNet_MapCfg('BrainMesh_ICBM152_smoothed.nv','94.node',aty,'Cfg.mat',[aty,'.eps'])
Could you help me?
Thanks
I have a matrix with 94 nodes and label's file with 94 coordinates. However, when I try run Brainnet with commands I get this error:
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
Error in BrainNet_MapCfg (line 133)
surf.sphere = [cell2mat(data(1)) cell2mat(data(2)) cell2mat(data(3)) cell2mat(data(4)) cell2mat(data(5))];
I have checked the number of nodes and egdes, but the number is correct (in my case 94). I've gotten the nodes coordinates with getcog and I checked the origin, size voxel in the image with the labels (I used MINDBOGGLE atlas)
These were my commands and files (attach)
aty=('MINDC_DF.edge');
BrainNet_MapCfg('BrainMesh_ICBM152_smoothed.nv','94.node',aty,'Cfg.mat',[aty,'.eps'])
Could you help me?
Thanks
Threaded View
| Title | Author | Date |
|---|---|---|
| Pablo Reyes | Mar 23, 2018 | |
| Mingrui Xia | Mar 23, 2018 | |
| Pablo Reyes | Mar 23, 2018 | |
