IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
parallel_reset.m
Go to the documentation of this file.
1 %> @ingroup globals parallelgroup
2 %> @file
3 %> @brief Builds the PARALLEL global
4 %>
5 function parallel_reset()
6 global PARALLEL;
7 
8 if matlabpool('size') > 0
9  matlabpool('close', 'force');
10 end;
11 
12 PARALLEL.flag_has = license('test' , 'distrib_computing_toolbox');
13 PARALLEL.open_count = 0;
function parallel_reset()