Why do the input signals in Test Harness generated for If Action Subsystem appear to be out of order?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 10 Set 2018
Modificato: MathWorks Support Team
il 18 Mar 2024
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
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'.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Inputs in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!