Error: Cannot propogate bus signal from output 1 to input 5
60 次查看(过去 30 天)
显示 更早的评论
I keep getting this error when I try to run a simulation with a model reference. The signal is created by a subsystem which then transmits the signal to model reference. I created this signal (bus) in the base workspace using the bus editor so the model reference can see it but I keep getting this error when I run the simulation. I have checked many times to make sure the signal in the bus editor and the real one match up and they do!
0 个评论
采纳的回答
Kaustubha Govind
2012-7-23
Have you set the bus object (in the workspace) as the input datatype for the corresponding port inside the referenced model?
5 个评论
Kaustubha Govind
2012-7-25
Yes, you could program the test harness model's PostLoadFcn callback to run your script that creates/loads the Bus objects. See Model Callbacks for more information.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!