Hi, It sounds like you don’t have the gifti library properly installed. Within matlab, what happens when you type g = gifti
Do you get a gifti structure? Cheers, -MH -- Michael Harms, Ph.D. ----------------------------------------------------------- Associate Professor of Psychiatry Washington University School of Medicine Department of Psychiatry, Box 8134 660 South Euclid Ave. Tel: 314-747-6173 St. Louis, MO 63110 Email: mha...@wustl.edu From: <hcp-users-boun...@humanconnectome.org> on behalf of Anita Sinha <amsi...@wisc.edu> Date: Thursday, January 17, 2019 at 3:37 PM To: "hcp-users@humanconnectome.org" <hcp-users@humanconnectome.org> Subject: [HCP-Users] CIFTI to Matlab To Whom It May Concern, I am attempting to open up a dtseries.nii CIFTI file into Matlab to extract the time series matrix from rs-fMRI data. I have downloaded workbench and gifti-1.8 and am following the directions outlined in https://wiki.humanconnectome.org/pages/viewpage.action?pageId=63963178 in #2 "How do you get CIFTI files into Matlab, but it isn't working. When I run this command: cii = ciftiopen('path/to/file','path/to/wb_command'); CIFTIdata = cii.cdata with the appropriate file paths, I keep receiving this error: Error using read_gifti_file_standalone (line 20) [GIFTI] Loading of XML file C:\Users\...\AppData\Local\Temp\tp904b5934_f040_4259_8a21_0b10e15aecc8.gii failed. Error in gifti (line 100) this = read_gifti_file_standalone(varargin{1},giftistruct); Error in ciftiopen (line 34) cifti = gifti([tmpfile '.gii']); I have added workbench and gifti to the path and saved everything in the same directory to mitigate file directory mismatch, but cannot past this error. Could you provide some help on how to resolve this? Thank you for your time. Regards, Anita _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users ________________________________ The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail. _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users