flatironinstitute / CaImAn-MATLAB

Complete Matlab pipeline for large scale calcium imaging data analysis
GNU General Public License v2.0
252 stars 147 forks source link

ERROR:Unrecognized function or variable 'graph_conn_comp_mex'. #111

Open albitcaban opened 4 years ago

albitcaban commented 4 years ago

Hi, Im trying to run the Demo_script in my mac and this error keeps popping up.

Unrecognized function or variable 'graph_conn_comp_mex'.

Error in graph_connected_comp (line 26) [l c] = graph_conn_comp_mex(sA);

Error in merge_components (line 65) [l,c] = graph_connected_comp(sparse(FF3+FF3')); % extract connected components

Error in demo_script_AC (line 98) [Am,Cm,K_m,merged_ROIs,Pm,Sm] = merge_components(Yr,A_keep,b,C_keep,f,P,S,options);

I've tried a couple of things but nothing seems to fix it. Any ideas how to troubleshoot?

ambrosip commented 2 days ago

did you figure this out? I'm dealing with the same error.

ambrosip commented 2 days ago

I think I fixed it, following suggestions from these two links: https://github.com/flatironinstitute/CaImAn-MATLAB/issues/9 https://stackoverflow.com/questions/31384994/how-to-accept-xcode-license