[color=#000000]Hi Hongru,[/color]
[color=#000000]You may be misremembering and the command [b]conn_matc2nii [/b]is probably the one you intended to run? That converts CONN"s internal .matc files to NIFTI format, while [b]conn_mgh2nii[/b] converts MGH / freesurfer .mgh or .mgz files to NIFTI format[/color]
[color=#000000]Best[/color]
[color=#000000]Alfonso[/color]
[i]Originally posted by Hongru Zhu:[/i][quote]Hi Alfonso,
After I denoise the data, I failed to convert the DATA_Subject*_Condition000.matc to nii using the conn_mgh2nii.m. But I did this step successfully last time. This time I only recalculate and add drend. I also tried to restart the conn but still got the same error. Hope you can give some solutions.
Thanks
Hongru
Ready to run Denoising pipeline
do not overwrite (skip already-processed subjects/ROIs)
steps : [1 1 0 0]
local processing (run on this computer)
CONN: RUNNING DENOISING STEP
Step 1/6: Expanding conditions
Step 2/6: Importing conditions/covariates
Step 3/6: Denoising functional data
processed 0 files
Step 4/6: Denoising ROI data
processed 0 files
Step 6/6: Updating Analysis variables
Saving file. Please wait...saved /media/hrzhu/NewDisk1/fmripreped/conn_fmriprep151.mat
Done
>> conn_mgh2nii
Not enough input arguments.
Error in conn_mgh2nii (line 5)
ischarfilename=ischar(filename);[/quote]
[color=#000000]You may be misremembering and the command [b]conn_matc2nii [/b]is probably the one you intended to run? That converts CONN"s internal .matc files to NIFTI format, while [b]conn_mgh2nii[/b] converts MGH / freesurfer .mgh or .mgz files to NIFTI format[/color]
[color=#000000]Best[/color]
[color=#000000]Alfonso[/color]
[i]Originally posted by Hongru Zhu:[/i][quote]Hi Alfonso,
After I denoise the data, I failed to convert the DATA_Subject*_Condition000.matc to nii using the conn_mgh2nii.m. But I did this step successfully last time. This time I only recalculate and add drend. I also tried to restart the conn but still got the same error. Hope you can give some solutions.
Thanks
Hongru
Ready to run Denoising pipeline
do not overwrite (skip already-processed subjects/ROIs)
steps : [1 1 0 0]
local processing (run on this computer)
CONN: RUNNING DENOISING STEP
Step 1/6: Expanding conditions
Step 2/6: Importing conditions/covariates
Step 3/6: Denoising functional data
processed 0 files
Step 4/6: Denoising ROI data
processed 0 files
Step 6/6: Updating Analysis variables
Saving file. Please wait...saved /media/hrzhu/NewDisk1/fmripreped/conn_fmriprep151.mat
Done
>> conn_mgh2nii
Not enough input arguments.
Error in conn_mgh2nii (line 5)
ischarfilename=ischar(filename);[/quote]