How do I enable or control multi-threading in my application generated by the MATLAB Compiler 4.6 (R2007a)?
11 views (last 30 days)
Show older comments
MathWorks Support Team
on 14 Sep 2012
Edited: MathWorks Support Team
on 26 Dec 2022
I would like to enable multi-threading in my application generated by the MATLAB Compiler 4.6 (R2007a).
Accepted Answer
MathWorks Support Team
on 26 Dec 2022
Edited: MathWorks Support Team
on 26 Dec 2022
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:
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!