If what you want to do is read the CIFTI into matlab, you can use the ciftiopen 
tool for this (2B):

https://wiki.humanconnectome.org/display/PublicData/HCP+Users+FAQ

Peace,

Matt.

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Lauren N <[email protected]<mailto:[email protected]>>
Date: Tuesday, February 7, 2017 at 3:30 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [HCP-Users] Reading gifti into matlab

Hi all,

I'm working with HCP data. Starting with some of the cifti dscalar.nii files of 
individual subject myelin and task-based contrasts, I pulled out specific 
columns from the task-based contrasts using -cifti-merge. Then, I combined 
these individual one-column dscalar files into one cifti file with 500 columns 
again using cifti-merge. Finally, I converted this to a metric gifti using 
cifti-separate. The gifti looks great in wb_view. However, I'm getting an error 
reading it into matlab with Guillaume Flandin's gifti library:

Error using read_gifti_file_standalone (line 20)
[GIFTI] Loading of XML file
AllWM14CLeft.func.gii failed.
Error in gifti (line 71)
this = read_gifti_file_standalone(varargin{1},giftistruct);

Any help would be greatly appreciated! I'm using the 1.6 version of the gifti 
library so I think it's up to date.
Thanks,
Lauren

_______________________________________________
HCP-Users mailing list
[email protected]<mailto:[email protected]>
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
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to