Question eig2nifti

Viewing 2 reply threads
  • Author
    Posts
    • #343
      mihikag
      Participant

        As an update, I’m trying to run the function in Matlab. When I’m running the sample code, I get the following message:
        Reading eig file…Undefined function or variable ‘load_nii_hdr’.

        Error in load_untouch_eig_gz

        Error in load_untouch_eig_gz

        Error in eig2nifti

        It seems tgat the function is looking for the function load_nii_hdr but not locating it. This function was not in the src folder that was downloaded.

      • #344
        sychoi
        Participant

          on line 14 of sample_eig2nifti.m:

          addpath(‘src’); % replace by correct path of ‘src’ directory

          did you replace this path?

        • #346
          mihikag
          Participant

            The eig2nifti file had not unzipped correctly. I downloaded the code and functions again and everything is working correctly. Thanks!

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.