A simple example of running the simulink model in parallel

Application of parallel computing to the analysis of the impact of anti-windup gain for PID controller
Updated 11 Apr 2019

View License

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
Created with R2017b
Compatible with R2017b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

zip file