Problem using a mex.c file
Mostra commenti meno recenti
Hey,
I am currently trying to use this package https://github.com/minepy/minepy in matlab, to do so I have unzipped the package and put both the mine.m and mine_mex.c file and put them in my current directory. However I keep getting the error message 'mine_mex.c function or variable not found' when I run a script which call mine.m as a function. From what I understand mine.m calls mine_mex.c but I am not sure why it does not find it?
If someone could try it and tell me what I am doing wrong? Thanks
Kindly
T
Risposte (1)
James Tursa
il 4 Giu 2020
Modificato: James Tursa
il 4 Giu 2020
Looks like you need to compile the mex file. You will need to install a C compiler if you haven't already. If there is a build file then try that first. Otherwise, go to the directory with mine_mex.c and see if this works:
mex mine_mex.c
Categorie
Scopri di più su Adding custom doc in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!