A simple example of running the simulink model in parallel
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 Compatibility
Windows macOS LinuxCategories
- Control Systems > Control System Toolbox > Control System Design and Tuning > PID Controller Tuning >
Tags
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.