petersenpeter / CellExplorer

CellExplorer is a graphical user interface, a standardized processing module and data structure for exploring and classifying single cells acquired using extracellular electrodes.

Home Page:https://cellexplorer.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FindInIntervals mex not working (linux)

hyr2 opened this issue · comments

commented

Operating system
Linux - Fedora

Matlab version
2021a

Describe the bug
Mex file called FindInIntervals is not working located in CellExplorer/calc_CellMetrics/mex/
Execution of script FindInInterval as a function is not supported:

Matlab error log
Execution of script FindInInterval as a function is not supported:

Hi

Did you compile the c-code functions?

https://cellexplorer.org/#getting-started

Getting started
The pipeline uses two c-code files that must be compiled CCGHeart.c and FindInInterval.c (originally part of the FMA toolbox). Compiled versions are included for Windows 64bit and Intel Mac 64bit, but you still have to compile them if your OS version is different. If you are using Linux you have to compile the scripts. In MATLAB, go to CellExplorer/calc_CellMetrics/mex/ and run these line:
mex -O CCGHeart.c
mex -O FindInInterval.c

commented

Thanks. That solved the problem I was having.