Bus Restriction on Name/DataType in Real-Time Simulation
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Dimitri MANKOV
2023-4-25
Hi MT,
I suggest reporting this to the MathWorks Support team (support@mathworks.com) to have this investigated and potentially fixed.
Best,
Dimitri
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!