Nowadays the multi-core processors are commonly used in personal computers. In many cases a multiple simulation of the same model with different parameters is required e.g. auto-tuning of state feedback speed controller for PMSM drive, mechanical parameters identification of servo-drive system. A simple example of parallelization is shared to help you take advantages of the parallel computing in Matlab/Simulink environment.
The script was examined on the computer with Intel Core i7-6700HQ with 8GB RAM. Standard simulation with single worker takes 386 seconds, while applied parallel computing with 2 workers least for 255 seconds.
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!