%-----------------------------------------------------------------------
% Job configuration created by cfg_util (rev $Rev: 4899 $)
%-----------------------------------------------------------------------
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.type = 'cfg_entry';
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.name = 'Evaluated Input';
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.tag = 'evaluated';
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.strtype = 'e';
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.extras = [];
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.num = [];
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.check = [];
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.help = {};
matlabbatch{1}.menu_cfg.menu_entry.conf_entry.def = [];
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.type = 'cfg_entry';
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.name = 'String';
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.tag = 'string';
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.strtype = 's';
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.extras = [];
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.num = [];
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.check = [];
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.help = {};
matlabbatch{2}.menu_cfg.menu_entry.conf_entry.def = [];
matlabbatch{3}.menu_cfg.menu_entry.conf_files.type = 'cfg_files';
matlabbatch{3}.menu_cfg.menu_entry.conf_files.name = 'Any File';
matlabbatch{3}.menu_cfg.menu_entry.conf_files.tag = 'anyfile';
matlabbatch{3}.menu_cfg.menu_entry.conf_files.filter = 'any';
matlabbatch{3}.menu_cfg.menu_entry.conf_files.ufilter = '.*';
matlabbatch{3}.menu_cfg.menu_entry.conf_files.dir = [];
matlabbatch{3}.menu_cfg.menu_entry.conf_files.num = [0 Inf];
matlabbatch{3}.menu_cfg.menu_entry.conf_files.check = [];
matlabbatch{3}.menu_cfg.menu_entry.conf_files.help = {};
matlabbatch{3}.menu_cfg.menu_entry.conf_files.def = [];
matlabbatch{4}.menu_cfg.menu_entry.conf_files.type = 'cfg_files';
matlabbatch{4}.menu_cfg.menu_entry.conf_files.name = 'NIfTI Image(s)';
matlabbatch{4}.menu_cfg.menu_entry.conf_files.tag = 'images';
matlabbatch{4}.menu_cfg.menu_entry.conf_files.filter = 'image';
matlabbatch{4}.menu_cfg.menu_entry.conf_files.ufilter = '.*';
matlabbatch{4}.menu_cfg.menu_entry.conf_files.dir = [];
matlabbatch{4}.menu_cfg.menu_entry.conf_files.num = [0 Inf];
matlabbatch{4}.menu_cfg.menu_entry.conf_files.check = [];
matlabbatch{4}.menu_cfg.menu_entry.conf_files.help = {};
matlabbatch{4}.menu_cfg.menu_entry.conf_files.def = [];
matlabbatch{5}.menu_cfg.menu_entry.conf_files.type = 'cfg_files';
matlabbatch{5}.menu_cfg.menu_entry.conf_files.name = 'Directory';
matlabbatch{5}.menu_cfg.menu_entry.conf_files.tag = 'directory';
matlabbatch{5}.menu_cfg.menu_entry.conf_files.filter = 'dir';
matlabbatch{5}.menu_cfg.menu_entry.conf_files.ufilter = '.*';
matlabbatch{5}.menu_cfg.menu_entry.conf_files.dir = [];
matlabbatch{5}.menu_cfg.menu_entry.conf_files.num = [0 Inf];
matlabbatch{5}.menu_cfg.menu_entry.conf_files.check = [];
matlabbatch{5}.menu_cfg.menu_entry.conf_files.help = {};
matlabbatch{5}.menu_cfg.menu_entry.conf_files.def = [];
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.type = 'cfg_repeat';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.name = 'Inputs';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.tag = 'inputs';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{1}(1) = cfg_dep;
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{1}(1).tname = 'Values Item';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{1}(1).tgt_spec = {};
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{1}(1).sname = 'Entry: Evaluated Input (cfg_entry)';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{1}(1).src_exbranch = substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{1}(1).src_output = substruct('()',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{2}(1) = cfg_dep;
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{2}(1).tname = 'Values Item';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{2}(1).tgt_spec = {};
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{2}(1).sname = 'Entry: String (cfg_entry)';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{2}(1).src_exbranch = substruct('.','val', '{}',{2}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{2}(1).src_output = substruct('()',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{3}(1) = cfg_dep;
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{3}(1).tname = 'Values Item';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{3}(1).tgt_spec = {};
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{3}(1).sname = 'Files: Any File (cfg_files)';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{3}(1).src_exbranch = substruct('.','val', '{}',{3}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{3}(1).src_output = substruct('()',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{4}(1) = cfg_dep;
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{4}(1).tname = 'Values Item';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{4}(1).tgt_spec = {};
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{4}(1).sname = 'Files: NIfTI Image(s) (cfg_files)';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{4}(1).src_exbranch = substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{4}(1).src_output = substruct('()',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{5}(1) = cfg_dep;
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{5}(1).tname = 'Values Item';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{5}(1).tgt_spec = {};
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{5}(1).sname = 'Files: Directory (cfg_files)';
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{5}(1).src_exbranch = substruct('.','val', '{}',{5}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.values{5}(1).src_output = substruct('()',{1});
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.num = [0 Inf];
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.forcestruct = true;
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.check = [];
matlabbatch{6}.menu_cfg.menu_struct.conf_repeat.help = {'Assemble the inputs to the called function in their correct order.'};
matlabbatch{7}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{7}.menu_cfg.menu_entry.conf_const.name = 'String';
matlabbatch{7}.menu_cfg.menu_entry.conf_const.tag = 's';
matlabbatch{7}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{7}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{7}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{7}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{8}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{8}.menu_cfg.menu_entry.conf_const.name = 'Evaluated';
matlabbatch{8}.menu_cfg.menu_entry.conf_const.tag = 'e';
matlabbatch{8}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{8}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{8}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{8}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{9}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{9}.menu_cfg.menu_entry.conf_const.name = 'Natural number';
matlabbatch{9}.menu_cfg.menu_entry.conf_const.tag = 'n';
matlabbatch{9}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{9}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{9}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{9}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{10}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{10}.menu_cfg.menu_entry.conf_const.name = 'Whole number';
matlabbatch{10}.menu_cfg.menu_entry.conf_const.tag = 'w';
matlabbatch{10}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{10}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{10}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{10}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{11}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{11}.menu_cfg.menu_entry.conf_const.name = 'Integer';
matlabbatch{11}.menu_cfg.menu_entry.conf_const.tag = 'i';
matlabbatch{11}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{11}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{11}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{11}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{12}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{12}.menu_cfg.menu_entry.conf_const.name = 'Real number';
matlabbatch{12}.menu_cfg.menu_entry.conf_const.tag = 'r';
matlabbatch{12}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{12}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{12}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{12}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{13}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{13}.menu_cfg.menu_entry.conf_const.name = 'Any file';
matlabbatch{13}.menu_cfg.menu_entry.conf_const.tag = 'any';
matlabbatch{13}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{13}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{13}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{13}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{14}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{14}.menu_cfg.menu_entry.conf_const.name = 'Batch file';
matlabbatch{14}.menu_cfg.menu_entry.conf_const.tag = 'batch';
matlabbatch{14}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{14}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{14}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{14}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{15}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{15}.menu_cfg.menu_entry.conf_const.name = 'Directory';
matlabbatch{15}.menu_cfg.menu_entry.conf_const.tag = 'dir';
matlabbatch{15}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{15}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{15}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{15}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{16}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{16}.menu_cfg.menu_entry.conf_const.name = 'Image(s)';
matlabbatch{16}.menu_cfg.menu_entry.conf_const.tag = 'image';
matlabbatch{16}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{16}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{16}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{16}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{17}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{17}.menu_cfg.menu_entry.conf_const.name = 'MATLAB .mat file';
matlabbatch{17}.menu_cfg.menu_entry.conf_const.tag = 'mat';
matlabbatch{17}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{17}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{17}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{17}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{18}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{18}.menu_cfg.menu_entry.conf_const.name = 'Mesh file';
matlabbatch{18}.menu_cfg.menu_entry.conf_const.tag = 'mesh';
matlabbatch{18}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{18}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{18}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{18}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{19}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{19}.menu_cfg.menu_entry.conf_const.name = 'NIfTI file';
matlabbatch{19}.menu_cfg.menu_entry.conf_const.tag = 'nifti';
matlabbatch{19}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{19}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{19}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{19}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{20}.menu_cfg.menu_entry.conf_const.type = 'cfg_const';
matlabbatch{20}.menu_cfg.menu_entry.conf_const.name = 'XML File';
matlabbatch{20}.menu_cfg.menu_entry.conf_const.tag = 'xml';
matlabbatch{20}.menu_cfg.menu_entry.conf_const.val = {true};
matlabbatch{20}.menu_cfg.menu_entry.conf_const.check = [];
matlabbatch{20}.menu_cfg.menu_entry.conf_const.help = {};
matlabbatch{20}.menu_cfg.menu_entry.conf_const.def = [];
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.type = 'cfg_choice';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.name = 'Type of output variable';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.tag = 'strtype';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{1}(1) = cfg_dep;
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{1}(1).tname = 'Values Item';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{1}(1).tgt_spec = {};
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{1}(1).sname = 'Const: String (cfg_const)';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{1}(1).src_exbranch = substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{1}(1).src_output = substruct('()',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{2}(1) = cfg_dep;
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{2}(1).tname = 'Values Item';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{2}(1).tgt_spec = {};
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{2}(1).sname = 'Const: Evaluated (cfg_const)';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{2}(1).src_exbranch = substruct('.','val', '{}',{8}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{2}(1).src_output = substruct('()',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{3}(1) = cfg_dep;
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{3}(1).tname = 'Values Item';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{3}(1).tgt_spec = {};
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{3}(1).sname = 'Const: Natural number (cfg_const)';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{3}(1).src_exbranch = substruct('.','val', '{}',{9}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{3}(1).src_output = substruct('()',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{4}(1) = cfg_dep;
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{4}(1).tname = 'Values Item';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{4}(1).tgt_spec = {};
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{4}(1).sname = 'Const: Whole number (cfg_const)';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{4}(1).src_exbranch = substruct('.','val', '{}',{10}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{4}(1).src_output = substruct('()',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{5}(1) = cfg_dep;
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{5}(1).tname = 'Values Item';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{5}(1).tgt_spec = {};
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{5}(1).sname = 'Const: Integer (cfg_const)';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{5}(1).src_exbranch = substruct('.','val', '{}',{11}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{5}(1).src_output = substruct('()',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{6}(1) = cfg_dep;
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{6}(1).tname = 'Values Item';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{6}(1).tgt_spec = {};
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{6}(1).sname = 'Const: Real number (cfg_const)';
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{6}(1).src_exbranch = substruct('.','val', '{}',{12}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.values{6}(1).src_output = substruct('()',{1});
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.check = [];
matlabbatch{21}.menu_cfg.menu_struct.conf_choice.help = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.type = 'cfg_choice';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.name = 'Type of output file';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.tag = 'filter';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{1}(1) = cfg_dep;
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{1}(1).tname = 'Values Item';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{1}(1).tgt_spec = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{1}(1).sname = 'Const: Any file (cfg_const)';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{1}(1).src_exbranch = substruct('.','val', '{}',{13}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{1}(1).src_output = substruct('()',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{2}(1) = cfg_dep;
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{2}(1).tname = 'Values Item';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{2}(1).tgt_spec = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{2}(1).sname = 'Const: Batch file (cfg_const)';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{2}(1).src_exbranch = substruct('.','val', '{}',{14}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{2}(1).src_output = substruct('()',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{3}(1) = cfg_dep;
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{3}(1).tname = 'Values Item';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{3}(1).tgt_spec = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{3}(1).sname = 'Const: Directory (cfg_const)';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{3}(1).src_exbranch = substruct('.','val', '{}',{15}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{3}(1).src_output = substruct('()',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{4}(1) = cfg_dep;
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{4}(1).tname = 'Values Item';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{4}(1).tgt_spec = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{4}(1).sname = 'Const: Image(s) (cfg_const)';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{4}(1).src_exbranch = substruct('.','val', '{}',{16}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{4}(1).src_output = substruct('()',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{5}(1) = cfg_dep;
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{5}(1).tname = 'Values Item';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{5}(1).tgt_spec = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{5}(1).sname = 'Const: MATLAB .mat file (cfg_const)';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{5}(1).src_exbranch = substruct('.','val', '{}',{17}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{5}(1).src_output = substruct('()',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{6}(1) = cfg_dep;
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{6}(1).tname = 'Values Item';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{6}(1).tgt_spec = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{6}(1).sname = 'Const: Mesh file (cfg_const)';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{6}(1).src_exbranch = substruct('.','val', '{}',{18}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{6}(1).src_output = substruct('()',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{7}(1) = cfg_dep;
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{7}(1).tname = 'Values Item';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{7}(1).tgt_spec = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{7}(1).sname = 'Const: NIfTI file (cfg_const)';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{7}(1).src_exbranch = substruct('.','val', '{}',{19}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{7}(1).src_output = substruct('()',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{8}(1) = cfg_dep;
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{8}(1).tname = 'Values Item';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{8}(1).tgt_spec = {};
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{8}(1).sname = 'Const: XML File (cfg_const)';
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{8}(1).src_exbranch = substruct('.','val', '{}',{20}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.values{8}(1).src_output = substruct('()',{1});
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.check = [];
matlabbatch{22}.menu_cfg.menu_struct.conf_choice.help = {};
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.type = 'cfg_repeat';
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.name = 'Outputs';
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.tag = 'outputs';
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{1}(1) = cfg_dep;
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{1}(1).tname = 'Values Item';
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{1}(1).tgt_spec = {};
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{1}(1).sname = 'Choice: Type of output variable (cfg_choice)';
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{1}(1).src_exbranch = substruct('.','val', '{}',{21}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{1}(1).src_output = substruct('()',{1});
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{2}(1) = cfg_dep;
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{2}(1).tname = 'Values Item';
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{2}(1).tgt_spec = {};
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{2}(1).sname = 'Choice: Type of output file (cfg_choice)';
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{2}(1).src_exbranch = substruct('.','val', '{}',{22}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.values{2}(1).src_output = substruct('()',{1});
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.num = [0 Inf];
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.forcestruct = true;
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.check = [];
matlabbatch{23}.menu_cfg.menu_struct.conf_repeat.help = {};
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.type = 'cfg_entry';
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.name = 'Function to be called';
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.tag = 'fun';
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.strtype = 'f';
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.extras = [];
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.num = [1 1];
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.check = [];
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.help = {};
matlabbatch{24}.menu_cfg.menu_entry.conf_entry.def = [];
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.type = 'cfg_exbranch';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.name = 'Call MATLAB function';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.tag = 'call_matlab';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{1}(1) = cfg_dep;
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{1}(1).tname = 'Val Item';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{1}(1).tgt_spec = {};
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{1}(1).sname = 'Repeat: Inputs (cfg_repeat)';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{1}(1).src_exbranch = substruct('.','val', '{}',{6}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{1}(1).src_output = substruct('()',{1});
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{2}(1) = cfg_dep;
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{2}(1).tname = 'Val Item';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{2}(1).tgt_spec = {};
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{2}(1).sname = 'Repeat: Outputs (cfg_repeat)';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{2}(1).src_exbranch = substruct('.','val', '{}',{23}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{2}(1).src_output = substruct('()',{1});
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{3}(1) = cfg_dep;
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{3}(1).tname = 'Val Item';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{3}(1).tgt_spec = {};
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{3}(1).sname = 'Entry: Function to be called (cfg_entry)';
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{3}(1).src_exbranch = substruct('.','val', '{}',{24}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.val{3}(1).src_output = substruct('()',{1});
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.prog = @(job)cfg_run_call_matlab('run',job);
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.vout = @(job)cfg_run_call_matlab('vout',job);
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.check = [];
matlabbatch{25}.menu_cfg.menu_struct.conf_exbranch.help = {};
