Run Matlab Batch from List

run_matlabbatch(
  spm,
  add_spm_dir = TRUE,
  clean = TRUE,
  verbose = TRUE,
  gui = FALSE,
  ...
)

matlabbatch_job(spm, add_spm_dir = TRUE, gui = FALSE, ...)

matlabbatch_to_script(spm, batch_prefix = "matlabbatch{1}.", ...)

Arguments

spm

List of the class matlabbatch

add_spm_dir

should SPM12 directory be added to the script

clean

Remove scripts from temporary directory after running

verbose

Print diagnostic messages

gui

is the GUI necessary?

...

additional arguments to pass to matlabbatch_job

batch_prefix

prefix to add to the names of spm

Value

Result of run_matlab_script