Install OpenMP Library on macOS Platform
You can generate parallel
for-loops on the macOS platform by using
parfor in your MATLAB® code. The code generator uses the OpenMP (Open Multiprocessing) application
interface to support shared-memory, multicore code generation. To run the code generated
parfor-loop outside of MATLAB, you must install an OpenMP library.
To install the OpenMP library libomp on the macOS platform, do one of the following: