Why do the input signals in Test Harness generated for If Action Subsystem appear to be out of order?

6 visualizzazioni (ultimi 30 giorni)
I am trying to generate a test harness for an If Action subsystem. When generating the test harness, I select the 'Constant' option for Sources to the test harness. When the test harness gets generated, I noticed that the ordering of the constant blocks seems to be incorrect. Here is a an image:
As can be seen, the third input to the subsystem happens to be the 'Action Port' as opposed to the first one. 

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 11 Mar 2024
Modificato: MathWorks Support Team il 13 Dic 2023
In the generated test harness, please open the 'Signal spec. and routing block'. You will find that the input signal from the 'Action Port' constant block is actually sent out as the first input to the component under test. 
The ordering of the constant blocks may appear to be somewhat misleading, but please note that the signals are routed to the correct ports in the 'If Action Subsystem'. 

Più risposte (0)

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by