


Pattern Recognition for Neuroimaging Toolbox, PRoNTo. This function prepares and launches the batch system. This builds the whole tree for the various tools and their GUI at the first call to this script. _______________________________________________________________________ Copyright (C) 2011 Machine Learning & Neuroimaging Laboratory


0001 function prt_batch 0002 % Pattern Recognition for Neuroimaging Toolbox, PRoNTo. 0003 % 0004 % This function prepares and launches the batch system. 0005 % This builds the whole tree for the various tools and their GUI at the 0006 % first call to this script. 0007 %_______________________________________________________________________ 0008 % Copyright (C) 2011 Machine Learning & Neuroimaging Laboratory 0009 0010 % Written by Christophe Phillips 0011 % $Id: prt_batch.m 135 2011-10-11 10:21:27Z amarquan $ 0012 0013 persistent batch_initialize 0014 0015 if isempty(batch_initialize) || ~batch_initialize 0016 % PRoNTo config tree 0017 prt_gui = prt_cfg_batch; 0018 % Adding PRoNTo config tree to the SPM tools 0019 cfg_util('addapp', prt_gui) 0020 % No need to do it again for this session 0021 batch_initialize = 1; 0022 end 0023 0024 % Launching the batch system 0025 cfg_ui 0026 0027 return