MATLAB: How to enable or control multi-threading in the application generated by the MATLAB Compiler 4.6 (R2007a)

MATLAB

I would like to enable multi-threading in my application generated by the MATLAB Compiler 4.6 (R2007a).

Best Answer

Multithreaded computations, introduced in MATLAB R2007a, are turned on by default as of MATLAB R2008a release.
If Multi-threading is enabled at the time you build your distributable application or component with MATLAB Compiler, MATLAB Builder JA, MATLAB Builder EX or MATLAB Builder NE, the setting, along with all of your MATLAB preferences settings, will be enabled in your compiled application.
For information on functions that benefit from multi-core/multiprocessor systems, refer the following release notes:
Choose a MATLAB Release -> Mathematics -> New Multithreading Capability in MATLAB Functions for more detailed information in the release notes.
For more information about threading level control in MATLAB, please see the following link: