help > Regressor.mat file is not generated
Showing 1-2 of 2 posts
Display:
Results per page:
Jun 28, 2016  06:06 AM | mariam Siddiqui
Regressor.mat file is not generated
Hi,

I am using SPM12 and PPPIv13. However, it does not generate regressor.mat file. It generates con files, SPMT_000* files, betas. Please help.

P.SPMver = 12;
P.subject = subject_code{subj,1}; % subject name
P.directory = fullfile(subject_dir{subj}, 'glm_impicit_6mm'); % Directory for input SPM.mat file
P.VOI = fullfile(maxima_mask_dir, [subject_code{subj}, '_', roi_name{roi_n}, '_modified.nii']);%from where to pick up VOI mask
P.Region = roi_name{roi_n}; %% NAME of the output directory
P.outdir = fullfile(gppi_dir); % Output directory location
P.Estimate = 1;
P.contrast = 7;% what contrast number to adjust for main effects
P.extract = 'mean'; %% earlier it was eigen values
P.Tasks = {'1' 'Radial' 'Translational'}; %Conditions
P.Weights = [];
P.maskdir = fullfile(subject_dir{subj}, 'glm_impicit_6mm');% Location to store ROI mask file
P.analysis ='psy';
P.method ='cond';
P.CompContrasts = 1;
P.Contrasts = [];
P.Weighted = 0;
P.ConcatR = 0;
P.preservevarcorr = 0;
P.Contrasts(1).left = {'Radial'};
P.Contrasts(1).right = {'Translational'};
P.Contrasts(1).STAT = 'T';
P.Contrasts(1).Weighted = 0;
P.Contrasts(1).MinEvents = 5;%what is this
P.Contrasts(1).name = 'Radial_minus_Translational';
P.Contrasts(2).left = {'Translational'};
P.Contrasts(2).right = {'Radial'};
P.Contrasts(2).STAT='T';
P.Contrasts(2).Weighted=0;
P.Contrasts(2).MinEvents=5;
P.Contrasts(2).name='Translational_minus_Radial';
P.Contrasts(3).left={'Radial'};
P.Contrasts(3).right={'none'};
P.Contrasts(3).STAT='T';
P.Contrasts(3).Weighted=0;
P.Contrasts(3).MinEvents=5;
P.Contrasts(3).name='Radial';
P.Contrasts(4).left={'Translational'};
P.Contrasts(4).right={'none'};
P.Contrasts(4).STAT='T';
P.Contrasts(4).Weighted=0;
P.Contrasts(4).MinEvents=5;
P.Contrasts(4).name='Translational';
P.FLmask = 1;
P.equalroi = 0;
[P,errorval] = PPPI_checkstruct(P)
PPPI(P);
Jun 28, 2016  07:06 AM | mariam Siddiqui
RE: Regressor.mat file is not generated
Problem Solved.

Ignore the earlier mail