|
Are you not including the directory path to the file?
Peace,
Matt.
From: Yizhou Ma <[email protected]>
Date: Saturday, March 7, 2015 at 10:47 PM To: "[email protected]" <[email protected]> Subject: [HCP-Users] Difficulties reading cifti into matlab with ft_read_cifti or ciftiopen Dear HCP experts,
I am experiencing difficulties reading cifti into matlab. For the ICA maps (melodic_IC.dscalar.nii). I used: cifti=ft_read_cifti('melodic_IC.dscalar.nii') Error using read_nifti2_hdr (line 56) cannot open melodic_IC.dscalar.nii as nifti file, hdr size = 1684628319, should be 348 or 540 cifti=ciftiopen('melodic_IC.dscalar.nii','wb_command') ERROR: error reading NIfTI file /workbench/bin_rh_linux64/melodic_IC.dscalar.nii: /workbench/bin_rh_linux64/melodic_IC.dscalar.nii is not a valid NIfTI file wb_command -cifti-convert -to-gifti-ext melodic_IC.dscalar.nii /tmp/tpe16b84a6_70fd_4d0b_80c7_1daf1d5c79b7.gii: Signal 127 Error using read_gifti_file (line 17) [GIFTI] Loading of XML file /tmp/tpe16b84a6_70fd_4d0b_80c7_1daf1d5c79b7.gii failed. Error in gifti (line 71) this = read_gifti_file(varargin{1},giftistruct); Error in ciftiopen (line 31) cifti = gifti([tmpfile '.gii']); cifti=ciftiopen('rfMRI_REST1_LR_Atlas_hp2000_clean.dtseries.nii','wb_command') Undefined function 'file_array' for input arguments of type 'char'. I run all commands in workbench's bin. My workbench is v1.0. My gifti library was just downloaded so no reason to believe that it is not up-to-date. _______________________________________________ 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] Difficulties reading cifti into... Yizhou Ma
- Re: [HCP-Users] Difficulties reading c... Glasser, Matthew
- [HCP-Users] Fwd: Difficulties read... Yizhou Ma
- Re: [HCP-Users] Fwd: Difficult... Glasser, Matthew
- Re: [HCP-Users] Fwd: Diffi... Yizhou Ma
- Re: [HCP-Users] Fwd: ... Glasser, Matthew
- Re: [HCP-Users] F... Yizhou Ma
- Re: [HCP-Users] Fwd: ... Yizhou Ma
- Re: [HCP-Users] F... Glasser, Matthew
- Re: [HCP-User... Yizhou Ma
- Re: [HCP-User... Schoffelen, J.M. (Jan Mathijs)
- Re: [HCP-User... jan-mathijs schoffelen
