Closed phullett closed 5 years ago
Dear Phullet,
I fear that those source files are from the TSTool project. At the moment we only have those mex files. However, you may have to look for Fortran instead of c-files, if I remember correctly.
Best,
Michael
Btw: If you're familiar with python, you may also want to have a look at IDtxl (https://github.com/pwollstadt/IDTxl) , TRENTOOL's successor (removes the eed for MATLAb licenses).
On 14.05.19 03:10, phullett wrote:
Would it be possible to provide the original nn_prepare.c, nn_search.c, and range_earch.c files used to make the mex files for 64bit Mac (I cannot find these on TSTOOL downloads). The current mex file for nn_prepar returns the following error. I think it is because mex file compatibility is sometimes an issue across platforms and across Matlab versions unless the the mex file is generated locally.
"Invalid MEX-file '/Users/pcnn/Documents/MATLAB/work2/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64': dlopen(/Users/pcnn/Documents/MATLAB/work2/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64, 6): Library not loaded: @loader_path/libmex.dylib Referenced from: /Users/pcnn/Documents/MATLAB/work2/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64 Reason: image not found."
Thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trentool/TRENTOOL3/issues/31?email_source=notifications&email_token=ACFJQGUNEEAN56WIDUEMXFLPVIGPXA5CNFSM4HMUSWW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GTRZRSA, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFJQGQ4NTWFW2HYADCSFEDPVIGPXANCNFSM4HMUSWWQ.
Thank you for the quick reply! They are from the TSTool project-- I will likely use IDtxl tool instead. Also, thank you for this TE resource!
Best,
Patrick
Hi all, I will close this issue. Feel free to reopen if necessary.
Hi all, when I run the code on matlab it gives me the following error: Invalid MEX-file '/Users/francescatancredi/Documents/MATLAB/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64': dlopen(/Users/francescatancredi/Documents/MATLAB/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64, 0x0006): Library not loaded: @loader_path/libmat.dylib Referenced from: <04E03B10-32AF-4711-B7B8-E3EBD7B64DC1> /Users/francescatancredi/Documents/MATLAB/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64 Reason: tried: '/Users/francescatancredi/Documents/MATLAB/TRENTOOL3-master/tstool_functions/mex_mac/mex64/libmat.dylib' (no such file), '/usr/local/lib/libmat.dylib' (no such file), '/usr/lib/libmat.dylib' (no such file, not in dyld cache)
Could anyone help me solve the problem?
Would it be possible to provide the original nn_prepare.c, nn_search.c, and range_search.c files used to make the mex files for 64bit Mac (I cannot find these files on TSTOOL downloads and they did not come with TRENTOOL; only the mex files are provided). The current mex file for nn_prepare returns the following error (below). I think it is because mex file compatibility is sometimes an issue across platforms and across Matlab versions unless the the mex file is generated locally.
"Invalid MEX-file '/Users/pcnn/Documents/MATLAB/work2/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64': dlopen(/Users/pcnn/Documents/MATLAB/work2/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64, 6): Library not loaded: @loader_path/libmex.dylib Referenced from: /Users/pcnn/Documents/MATLAB/work2/TRENTOOL3-master/tstool_functions/mex_mac/mex64/nn_prepare.mexmaci64 Reason: image not found."
Thanks!