Simulink test manager 'Parallel Test Execution' is stopping with error
Mostra commenti meno recenti
I want to decrease the time of Simulation for running 30 Test harness. I installed 'Parallel Computing tool box' and enabled 'Parallel' in Test Manager. I tried to run the test file. All the test harness are failing with the following error.
Error evaluating expression 'T_sample_control' for 'FixedStep' specified in the Configuration Parameters dialog for block diagram 'HM_Harness_4_1_1'.
Undefined function or variable 'T_sample_control'.
Variable 'T_sample_control' does not exist.
If the 'Parallel' is disabled all the harness are running fine. What might be the problem?
1 Commento
Varunjith Vijayan
il 25 Apr 2018
Risposte (1)
Anmol Pradeep Bhargava
il 4 Mag 2018
1 voto
Hi Varunjith,
As per my understanding parallel pool workers do not inherit the current environment so if you load parameters before starting the parallel execution the workers won't inherit those values. Although, you can assign all values in Callback section of the test file in Simulink Test Manager. This way when you run the test file in parallel mode the workers will be able to load callbacks and get the parameters.
Categorie
Scopri di più su Outputs in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!