Skip to content

setBatchImageCalculation crashes during RFX  #396

@CerenB

Description

@CerenB

Describe your problem in detail

I am running
bidsRFX('RFX', opt, funcFWHM, conFWHM);

and when it comes to setBatchImage step, it crashes.

Error message

BUILDING JOB: image calculation
Error using setBatchImageCalculation (line 62)
The value of 'matlabbatch' is invalid. It must satisfy the function: iscell.

Error in setBatchMeanAnatAndMask (line 67)
  matlabbatch = setBatchImageCalculation(matlabbatch, ...

Error in bidsRFX (line 69)
      matlabbatch = setBatchMeanAnatAndMask(matlabbatch, ...
 


When I check in line#62

62    parse(p, varargin{:});
K>> parse(p, varargin{:})
The value of 'matlabbatch' is invalid. It must satisfy the function: iscell.

apparently,
p.Results is a struct with no fields.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions