A bus data type should be specified for the block 'xxx' since a bus is entering its input port. This message is related to a hidden Outport block

15 visualizzazioni (ultimi 30 giorni)
I'm trying to use a test Harness with Test Sequence and Test Assessment Blocks to run my .slx model through some tests.
However I get this error:
"A bus data type should be specified for the block 'Diagnostics/Input_Monitoring_Error_Flags' since a bus is entering its input port. This message is related to a hidden Outport block."
Now, I had the same error when I was trying to create the test harness in the first place, but resolved it by creating buss objects with corresponding number of elements and assigned the data types for each, pointed to them as Outpout data type in the Bus Creator Block Parameters for each Bus Creator Block that raised the error.
For some reason the error still pops up in the test harness when I run it.
I did not do anything to the test harness yet, just created it. If someone has encountered something like this - please let me know! (edited)

Risposta accettata

Max
Max il 12 Dic 2023
Found a solution - problem was the Output port Data type - you can specify the bus object as a data type for those as well apparently.

Più risposte (0)

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by