netstim / leaddbs

Lead-DBS is a MATLAB toolbox facilitating deep brain stimulation electrode localization and connectomic neuroimaging.
https://www.lead-dbs.org
Other
93 stars 97 forks source link

v3.0 Import Issue #1091

Closed PhilipMosley closed 1 year ago

PhilipMosley commented 1 year ago

Hi - trying out v3.0 for the first time - have run into issue with importing from DICOMs / nifti files

It seems to convert ok and pulls out the relevant metadata from the scans but they fail to load in slicer and I can't proceed past this stage.

Mac Pro M1 Max Chip, Matlab 2023a

Thank you for any pointers.

Screenshot 2023-09-08 at 11 19 36 am Screenshot 2023-09-08 at 11 11 29 am
andreashorn commented 1 year ago

Hi Phil, what I could imagine is that you have a function on the path that is called histogram.m and obscures the official matlab function with the same name? Could you run "which histogram" in the command line and see where it points to? If its not a built in function but from a different package, would remove that package from the path.

PhilipMosley commented 1 year ago

Aha! You are correct. Problem solved - thank you and will close this. Much appreciated.