Simulink test manager 'Parallel Test Execution' is stopping with error

조회 수: 5 (최근 30일)
Varunjith Vijayan
Varunjith Vijayan 2018년 4월 18일
답변: Anmol Pradeep Bhargava 2018년 5월 4일
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
Varunjith Vijayan
Varunjith Vijayan 2018년 4월 25일
I tried to change the model configuration parameters by creating new configuration set. Now I am receiving the error "Unable to get parameter "DSMLoggingName" from configuration reference 'Reference' because its referenced configuration set 'Configuration1' does not resolve to a valid Simulink.ConfigSet"
The normal simulation is working fine. Only parallel execution is having problem. To check I tried a simple model to simulate in parallel and it is working. What I have to do to clear this error message?

댓글을 달려면 로그인하십시오.

답변 (1개)

Anmol Pradeep Bhargava
Anmol Pradeep Bhargava 2018년 5월 4일
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.

카테고리

Help CenterFile Exchange에서 Outputs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by