IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
parallel_has.m
Go to the documentation of this file.
1 %> @ingroup globals parallelgroup
2 %> @file
3 %> @brief Checks if it is possible to use MATLAB's Parallel Computing Toolbox
4 %> @return \em flag Whether has or not
5 function flag = parallel_has()
6 parallel_assert();
7 global PARALLEL;
8 flag = PARALLEL.flag_has;