Bus Restriction on Name/DataType in Real-Time Simulation
2 views (last 30 days)
Show older comments
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1360038/image.png)
This is a simple structure, which contains a bus inside a bus:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1360043/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1360048/image.png)
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!
0 Comments
Answers (1)
Dimitri MANKOV
on 25 Apr 2023
Hi MT,
I suggest reporting this to the MathWorks Support team (support@mathworks.com) to have this investigated and potentially fixed.
Best,
Dimitri
0 Comments
See Also
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!