This repository contains a variety of examples of parallelism.
MATLAB
in the example script provided, "parforExample.m", the "for" command can be switched between "for" and "parfor". Changing to "parfor" will ask MATLAB to parallelize the loop if possible. In MATLAB r2018a, parpool is called by MATLAB with 12 threads as default if parfor is used without first calling parpool.