Print

Print


Hello SPMers,

This is more of a MATLAB/programming question than a SPM one, probably. I
am trying to write a script to analyse my RS-fMRI dataset recursively for
all the subjects. The problem is that when I have to select the VOIs in
order (PCC, mPFC, LIPC, RIPC), I need to create a 4xNN character (NN being
the length of the path to the .mat files for the VOIs). This is done in the
GUI individually and the user basically has to select the VOIs one by one,
in order, which leads to creating a character (called P) and sts (a binary
status for the job being successful/unsuccessful):

[P, sts] = spm_select([1 8],'^VOI.*\.mat$',{'select VOIs'},'',swd);

I was wondering whether there is any other way of doing this to create the
variables P and sts, in the script and include the four different regions
in order.

Many thanks in advance,
Amir

Amir Dehsarvi
PhD Student | Intelligent Systems Research Group | Department of
Electronics | University of York
[log in to unmask] | 01904 32 2331