Multithreaded Compilation
Multithreaded compilation helps reduce compilation time by compiling different reusable components on separate threads. Even if you do not enable component reuse, multithreaded compilation can help reduce compilation time because of other optimizations.
On a multicore machine, multithreaded compilation is enabled by default. However, if you require single-thread compilation, such as when you are profiling the compilation performance of a model over multiple runs and want to get comparable results, you can disable multithreaded compilation. In the Configuration Parameters dialog box, at the bottom of the Simscape pane, under Advanced Parameters, clear the Enable multithreaded compilation check box.
You can also use the equivalent command-line interface to set the model configuration parameter:
set_param(bdroot,'SimscapeMultithreadedCompilation','off')