help > RE: Odd combination of errors - too many parameters/error checking dependencies
Jan 25, 2019  10:01 AM | Mark Green
RE: Odd combination of errors - too many parameters/error checking dependencies
Dear All,

I think that I have localised this error to a failure to load the first-level SPM.mat GLM data correctly. This is apparent since the Tasks variable isn't found after running the PPPI(P) command, though the parameter variable P.Tasks is found. This is consistent with the errors generated by PPPIinputsvalid and PPPIcheckstruct.

None of the SPM variables are not loaded into the workspace suggesting that there is a general or partial failure to load the SPM.mat, rather than a specific failure in getting the Tasks variable to load.

Many thanks,

Mark


PPPIinputsvalid.m
elseif ~isempty(P.Tasks) && str2double(P.Tasks{1})==0 && (length(P.Tasks)-1)>numel(Tasks)
error='Program will now exit. You specified too many tasks. At least one specified task does not exist.';

PPPI_checkstruct.m
catch
error{end+1}='PPPI inputs were specified correctly, but failed error checking for dependencies. See errorval{1}.';
end

Threaded View

TitleAuthorDate
Mark Green Jan 23, 2019
RE: Odd combination of errors - too many parameters/error checking dependencies
Mark Green Jan 25, 2019
Mark Green Jan 25, 2019