-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c file not recognized : 'matlab_bgl_sp_mex' #25
Comments
Hi there -- you might have to rename some of the mex files if you are on windows. What system do you have? |
Undefined function or variable 'matlab_bgl_sp_mex'. Error in shortest_paths (line 131) Error in dijkstra_sp (line 53) Error in OCY_assign_dist (line 70) Error in OCY_main (line 71) Error in OCY_analyze_all (line 19) |
No, you may need to rename the .dll files to .mexw32 ... |
Sorry, but where would I find these .dll files |
They should be in the private directory
…On Mon, Oct 3, 2022 at 10:00 AM Abhay Khosla ***@***.***> wrote:
Sorry, but where would I find these .dll files
—
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAIJS24ZR2J6SW3TQ4HBMDWBLRJFANCNFSM5BHADIIA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Please download the library from mathworks https://www.mathworks.com/matlabcentral/fileexchange/10922-matlabbgl |
Should I remove the old matlab-bgl-master from the MATLAB path as the link you shared once I added the private folder has more files and even with .mexw32 and .mexw64. And thank you so much for your help means alot 👍 |
Correct, you don't need the old one. |
Just wanted to say a huge thanks for resolving the issue I was having. I appreciate your swift responses. |
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
The text was updated successfully, but these errors were encountered: