Error with loading BRIK file into MATLAB (BrikLoad.m function)

Hello! When I try to load my BRIK file into MATLAB using the BrikLoad.m function, I get the following error:

Error using reshape
To RESHAPE the number of elements must not change.

Error in BrikLoad (line 754)
        V = reshape(V, numpixX, numpixY, numslices, numframes);

Error in readHippoRecallBrik (line 32)
    [err, allHR, Info, EffMessage] = BrikLoad(brikFile);

Does anyone know what might cause this? The data I'm loading in are the t-stat values for each individual stimulus after running the GLM (using -stim_times_IM). However, I'm able to load in the BRIK file with the same data, but when I didn't use each individual stimulus as a predictor (so using -stim_times instead in the GLM). I can't find any obvious errors in the data, but happy to provide more information on it.

Any help would be appreciated!