Skip to content
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

dtiInit mex file fixes and error in dtiFitTensor #323

Open
dorahermes opened this issue Nov 22, 2019 · 0 comments
Open

dtiInit mex file fixes and error in dtiFitTensor #323

dorahermes opened this issue Nov 22, 2019 · 0 comments

Comments

@dorahermes
Copy link

I am running dtiInit on a Mac with Matlab R2019a and get several errors with the mex files when running dtiInit. I could easily resolve some my recompiling with the code suggested in dtiCompileMex, but this needs serious updating (see suggestions below) and dtiFitTensor is not running correctly. My current work around is to use the dtiInit docker (https://hub.docker.com/r/vistalab/dtiinit/), but the dtiFitTensor needs to be fixed. Am happy to troubleshoot or test.

----- necessary updates to dtiCompileMex -----
compatibleArrayDims needs to be added to the mex build code:
dtiFiberTracker.c builds & runs correctly with:
mex -O -compatibleArrayDims -I./jama dtiFiberTracker.cxx

dtiSplitTensor.c builds/runs correctly with:
mex -v -compatibleArrayDims dtiSplitTensor.c

----- error-----
dtiFitTensor.c
It needs to have zero removed after return from line 594 to compile, but output is not sensible (zeros instead of pdd).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant