- Usage of Parallel Computing Toolbox functions such as "parfeval", "parfor", "parpool" etc, to parallelize the execution of MATLAB code and you could also use "parsim" to run multiple simulations parallely at a time on multiple threads
- Also their are differente modes of simulation, and modes such as "Accelerator" or "Rapid Accelerator" can help you to improve the performance of the simulation based on the model requirements.
- With the presence of GPU, you can also increase the performance of the simulation in models which contains MATLAB Function blocks present in them by using the capabilities of the GPU.
- https://www.mathworks.com/products/parallel-computing.html
- https://www.mathworks.com/help/simulink/slref/parsim.html
- https://www.mathworks.com/help/simulink/ug/how-the-acceleration-modes-work.html
- https://www.mathworks.com/help/gpucoder/ug/simulation-acceleration-using-gpu-coder.html