Filter löschen
Filter löschen

Bus Restriction on Name/DataType in Real-Time Simulation

1 Ansicht (letzte 30 Tage)
mt mir
mt mir am 18 Apr. 2023
Beantwortet: Dimitri MANKOV am 25 Apr. 2023
Hello, I have a problem with running my code in the real-time setting (Run on Target Machine), although the code is fine with offline. The error that I receive is as follows:
This is a simple structure, which contains a bus inside a bus:
I found out that the error comes from data type and the name of propagated bus being the same, and I can change them "manually" not to be the same and the problem is fixed. But that "manually" change is so frustrating when it comes to a more complex model that I am using, which this problem appears everywhere. I wonder if there is any automated or organized way of handling this error in the generation of the propagated bus names or anyway to prevent this similarity in the name to happen. Thank you in advance!

Antworten (1)

Dimitri MANKOV
Dimitri MANKOV am 25 Apr. 2023
Hi MT,
I suggest reporting this to the MathWorks Support team ( to have this investigated and potentially fixed.




Community Treasure Hunt

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

Start Hunting!

Translated by