Hi,

Are you using the latest gifti library available via the link mentioned here?
https://wiki.humanconnectome.org/display/PublicData/HCP+Users+FAQ#HCPUsersFAQ-2.HowdoyougetCIFTIfilesintoMATLAB?

cheers,
-MH

--
Michael Harms, Ph.D.
-----------------------------------------------------------
Conte Center for the Neuroscience of Mental Disorders
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<mailto:hcp-users-boun...@humanconnectome.org>>
 on behalf of wtj <1257735...@qq.com<mailto:1257735...@qq.com>>
Date: Tuesday, May 23, 2017 at 6:05 AM
To: "hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>" 
<hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>>
Subject: [HCP-Users] cifti MATLAB

Hi,
There’s something wrong when I load the cifti dense timeseries file into matlab.
>> which ciftiopen
/home/Tianjie/cifti/ciftiopen.m
>>cii=ciftiopen('/home/Tianjie/projects/WU-Minn_HCP_Lifespan_Pilot_Data_structure_preprocess/LS2001/MNINonLinear/Results/rfMRI_REST1_LR/rfMRI_REST1_LR_Atlas.dtseries.nii','/home/Tianjie/workbench/bin_rh_linux64/wb_command')
Error using file_array/permute (line 10)
file_array objects can not be permuted.

Error in read_gifti_file>gifti_Data (line 201)
        d = permute(reshape(d,fliplr(s.Dim)),length(s.Dim):-1:1);

Error in read_gifti_file>gifti_DataArray (line 122)
            s(1).data         = gifti_Data(t,c(i),s(1).attributes);

Error in read_gifti_file (line 45)
            this.data{end+1} = gifti_DataArray(t,uid(i),filename);

Error in gifti (line 74)
                this = read_gifti_file(varargin{1},giftistruct);

Error in ciftiopen (line 31)
cifti = gifti([tmpfile '.gii']);

Can you see what’s wrong?
Thanks.

_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org<mailto: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

Reply via email to