Perform simulation testing using Simulink Test, enable parallel computing, and the calculation results are being overwritten.

7 views (last 30 days)
Hello, I am using Simulink Test for testing and using signal logging to record the data of signals inside a ForEach module. At the same time, I enabled parallel computation to speed up the simulation. However, when I check the observed data in the output results of Simulink Test, they are inconsistent with the data under serial computation. Moreover, under serial computation, the results of two iterations are different, while under parallel computation, the results of two iterations are the same. It seems that the last iteration when I enabled parallel computation is overwriting the previous computation results. Is there a way to resolve this?

Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!