Skip to content

Matlab error in Computing Edge-Betweenness Centrality #20

Description

@reyhanehnazemian

Hello
I'm trying to calculate the betweenness centrality for all edges in an adjacency matrix. I download matlabbgl from https://www.cs.purdue.edu/homes/dgleich/packages/matlab_bgl/ that includes betweenness_centrality.m file and unzip it to a directory. Then I open matlab and change directory until I get to the directory where I unzipped matlabbgl.

Well I'm not 100% sure, but I think that this can be my solution. However, I'm still new to matlab and can't get the code running very well. when I call betweenness centrality with a sparse matrix argument in another file and run it, the matlab gives error :

Undefined function 'betweenness_centrality_mex' for input arguments of type 'double'.
Error in betweenness_centrality (line 110)
bc = betweenness_centrality_mex(A,weight_arg);

OS is Windows 7 enterprise 64-bit and Matlab 2013a
Any help is highly appreciated. I'm currently writing my thesis and desperately need betweenness for my network :) Thanks a lot!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions