Use C++ Objects and Functions in parfor Loops - MATLAB & Simulink (original) (raw)

Main Content

You can use the MATLABĀ® parfor function with a MATLAB interface to a C++ compiled library.

The following use cases are not supported.

Your C++ library might not be a candidate for parallel computing. Parfor loop iterations run in different processes. If your code must run in the same process, then the result is not guaranteed.

See Also

parfor