Extract scout times series folder different times

You may want to check the indicated file extract_modified_2, at the specified line to check the error.
As the error message indicates, the seems to be a problem that the comparison of values is done with one = sign rather than two.

The script above indicates that mean is used as scout function:
'scoutfunc', 'mean', ... % Mean
If you want PCA, it needs to be indicated. You can do it in the GUI and the generate the script that correspond to the GUI options.

About concatenation, it is the same, the scrip above indicate that results will not be concatenated:
'concatenate', 0, ...