error: subscripted assignment dimension mismatch

Dear REST developers,

When I attempt to run the functional connectivity pipeline in the program with a single subject 4D analyze format image with no mask it returns the message below. What does this message mean? How can I fix it? 

thank you,

Dominic

Ideal rectangular filter:    "/data/blinky/work/dominic/seed/test_1/1005031/rest_trial"
     Read 3D EPI functional images: "/data/blinky/work/dominic/seed/test_1/1005031/rest_trial".
Exception occured.    (MATLAB:subsassigndimmismatch)
    Subscripted assignment dimension mismatch.
    48#line,        rest_to4d,    in "/usr/local/matlab/toolbox/spm5/toolbox/REST2007V1.3_090525/rest_to4d.m"
    38#line,        rest_bandpass,    in "/usr/local/matlab/toolbox/spm5/toolbox/REST2007V1.3_090525/rest_bandpass.m"
    1190#line,        BandPass,    in "/usr/local/matlab/toolbox/spm5/toolbox/REST2007V1.3_090525/fc_gui.m"
    1286#line,        btnComputeFC_Callback,    in "/usr/local/matlab/toolbox/spm5/toolbox/REST2007V1.3_090525/fc_gui.m"
    95#line,        gui_mainfcn,    in "/usr/local/matlab/toolbox/matlab/guide/gui_mainfcn.m"
    35#line,        fc_gui,    in "/usr/local/matlab/toolbox/spm5/toolbox/REST2007V1.3_090525/fc_gui.m"

Hi!
REST does not support 4D format.
Please input with 3D NIFTI (recommended) or ANALYZE img/hdr pairs.

Error | Forum of resting-state fMRI

Error

The website encountered an unexpected error. Please try again later.