Skip to content

c file not recognized : 'matlab_bgl_sp_mex' #25

Description

@megalulu

Hello,

Thank you for creating this algorithm! I downloaded it because it seems to be a dependency for the code of directional connectivity index (DCI). I want to calculate the DCI for a riparian ecosystem in two directions (along the river axis and perpendicular to the river axis).

I'm new to Matlab, but I get this error when running the code:

Error in shortest_paths (line 131)
[d pred] =
matlab_bgl_sp_mex(A,u,target,lower(options.algname),options.inf,...

Error in DCIu (line 29)
d = shortest_paths(distance, start_nodes(ii)); %A vector
of the shortest path between starting/source node and
all other nodes

Error in connectivity_at_angle (line 117)
fval = DCIu(distance, dx, pixelx)

the 'matlab_bgl_sp_mex.c' function seems to be written in c, and Matlab doesn't recognize it. There should be a matlab_bgl_sp_mex.h file associated to it?

Thank you for any help!
Meghana

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