Graph theory measures - Brain connectivity toolbox

7 views (last 30 days)
Dear Sirs,
I am trying to extract graph theory measures using the brain connectivity toolbox (BCT).
I have created the connectivity matrices in ExploreDTI (see image attached with the output of the weighted and binary matrices).
Then I added the files with the CMs and the BCT to Matlab (by going into set path and add folder and save - see attached)
I then used the command window to type the functions in order to get the graph theory measures but I end up getting an error (see below an example where I try to extract efficiency measure from a binary CM):
>> efficiency_bin.m ('06_DWI_FP_MD_C_trafo_Tracts_CSD_binary_PASS')
Unable to resolve the name efficiency_bin.m.
I get the error message “Unable to resolve the name efficiency_bin.m” and I am now stuck.
Can anyone provide input on what can be the reason for this error?
Thank you.
Best wishes,
Jose Teles
  1 Comment
原
on 28 Jun 2022
excuse me,could you tell me how to start BCT in Matlab?The code I press into mtalab always shows error,brain connectivvty?or sth else?thanks a lot!

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Jan 2022
efficiency_bin('06_DWI_FP_MD_C_trafo_Tracts_CSD_binary_PASS')
Do not include the ".m" part of the name when invoking a function.
  7 Comments
Walter Roberson
Walter Roberson on 4 Jan 2022
load('06_DWI_FP_MD_C_trafo_Tracts_CSD_FA_PASS')
rout_efficiency(CM)
Jose Teles
Jose Teles on 4 Jan 2022
Many thanks for your advise it worked:) have a great day

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!